-
Bug
-
Resolution: Invalid
-
Minor
-
None
-
None
-
This server is running CraftBukkit version git-Spigot-69774b3-671581e (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
-
WoolTest
-
Yes
Hey, I have found a problem with legacy. This plugin worked in 1.12.2 perfectly but after updated to 1.13 the setDurability is not working. I have figured it out that if I set the durability before setItemMeta it doesnt work, and if I set it after it does. It is just a really small bug to report. I have added a sample plugin. You will notice that /wooltest1 spawns a white wool when it should spawn an organe and /wooltest2 spawns an organe wool as it should.
Both Commands Code: https://paste.md-5.net/nafumamoto.avrasm
Not working as it should code: https://paste.md-5.net/nefuroromo.avrasm
The line giving having the problem is this one: Item.setDurability((short) 1);
So well just a small error to report. In 1.12.2 it works in both ways. In 1.13 setDurability is not working when setted before setItemMeta. If you set it after it works.
Wish this helps you to keep improving the amazing Legacy system!
Thank you. Wish I have been clear, if not, sorry and dont hesitate to ask.