[SPIGOT-7655] ItemMeta#addItemFlags(ItemFlag.HIDE_ATTRIBUTES) not working when no attribute modifiers set Created: 02/May/24 Updated: 25/Dec/24 Resolved: 02/May/24 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | David Lüdtke | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
doesn't matter |
||
| Version: | 1.20.6 |
| Guidelines Read: | Yes |
| Description |
|
In 1.20.4 meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES) worked perfectly for everything to hide the attributes (e.g. diamond chestplate), but in 1.20.6 this is no longer working. Additionally (like in
Code: https://pastebin.com/VQjuwUGh Observed Behaviour: The diamond chestplate hat all it's attributes shown (e.g. + Armor) Expected Behaviour: The diamond chestplate should hide it's attributes (only item name visible, not the attributes) |