Closed iOshawott closed 1 year ago
I cannot reproduce this with a valid skull/player head. Changing gamemodes and back again restores the skull as expected. How is the skull being given to the player? Perhaps attaching the playerdata file might help see what the issue is.
Reproduction steps: (issue is because conflict HeadDatabase with CoreProtect)
I didn't knew where upload, so it's here (if still needed - .dat file) https://easyupload.io/ghiax1
I have fixed the issue of GMI not being able to read the corrupted skull data. Before saving the inventory it will check for corrupt player heads, and if found, will strip away the skull meta leaving just a plain Steve/Alex head.
Get the latest JAR here: http://tardisjenkins.duckdns.org:8080/job/GameModeInventories/
Nothing I can do about the underlying problem of CoreProtect not rolling back playerheads correctly, I suggest you raise a ticket with the plugin author(s) if you haven't done so already.
https://pastebin.com/z81qi442
I have a playerdata file with skull that did that error if needed.
After this error inventory of player has been resetted, backup was needed for recovery.