Skulls missing Owner Details when in BlockMenu
Sefiraat opened this issue · 1 comments
❗ Checklist
- I am using the official english version of Slimefun and did not modify the jar.
- I am using an up to date "DEV" (not "RC") version of Slimefun.
- I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
- I searched for similar open issues and could not find an existing bug report on this.
📍 Description
When getting a Player Head ItemStack using BlockMenu#getItemInSlot()
the given ItemStack's SkullMeta does not have the owner details available.
📑 Reproduction Steps
In the above shot, instanceOne
is derived from SlimfunItem#getRecipeOutput
and has the owner details (for reference, it's a Cargo node). 'instanceTwo' is the ItemStack via BlockMenu#getItemInSlot
and is the correct ItemStack in all bar this one element. The Skull meta has all details (including GameProfile with the correct UUID) but no owner name in the profile and thus 'getOwningPlayer()` is retuning null.
When pulling the ItemStack out by hand and checking the meta then, you get the above screenshot with the correct owner information within.
💡 Expected Behavior
The ItemStacks should match each other perfectly - at least with the correct owner details.
📷 Screenshots / Videos
📜 Server Log
No response
📂 /error-reports/
folder
No response
💻 Server Software
Paper
🎮 Minecraft Version
1.17.x
⭐ Slimefun version
Dev 999
🧭 Other plugins
No response
Player Heads are handled by dough (https://github.com/baked-libs/dough)
This seems like a missing method override on dough's part