SkullCreator icon indicating copy to clipboard operation
SkullCreator copied to clipboard

itemFromUUID() not working properly

Open OakLoaf opened this issue 2 years ago • 8 comments

The function itemFromUUID() only works for players that have been on the server that you are getting the head on. Ideally this should not be a limitation

OakLoaf avatar Jul 24 '22 01:07 OakLoaf

yea that kinda sucks

as a workaround, you can use any of the other methods, which should all work without requiring the player to have previously been online

deanveloper avatar Jul 24 '22 04:07 deanveloper

(ideally i will fix this in the future but i haven't touched this repo in years)

deanveloper avatar Jul 24 '22 04:07 deanveloper

Yeahh, I saw that it was quite an old repo haha. I kind of need to have the player head updating for my plugin, maybe I can use the URL method?

OakLoaf avatar Jul 24 '22 13:07 OakLoaf

No, if you use the URL method it will not update. I'll see if I can fix it somehow lol (later)

deanveloper avatar Jul 24 '22 14:07 deanveloper

Ok ok, thank you haha

OakLoaf avatar Jul 24 '22 16:07 OakLoaf

Gonna bump this

OakLoaf avatar Sep 01 '22 20:09 OakLoaf

Still no news, I don't really have an environment set up for MC developing/testing anymore, so it'd take quite a bit of time for me to solve this myself.

I've been thinking about archiving this repo but I'd like to find someone else to maintain if possible

deanveloper avatar Sep 01 '22 20:09 deanveloper

For now the best solution will probably be to resolve the name for a UUID yourself and then pass that into the fromName methid

deanveloper avatar Sep 01 '22 20:09 deanveloper