[SPIGOT-493] 'HideFlags' & 'ench' tags not working in Spigot (works with CraftBukkit) Created: 30/Jan/15  Updated: 30/Jan/15  Resolved: 30/Jan/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Ziheng Yang Assignee: Thinkofname
Resolution: Fixed Votes: 0
Labels: Craftbukkit, bug, nbt, spigot
Environment:

Linux & Windows


Attachments: PNG File cb.png     PNG File spigot.png    

 Description   

Some nbt tags are not working with spigot (I'm testing with jars compiled using BuildTools #25). The ones I have tested in particular are HideFlags and ench.

Command used: /minecraft:give <player> iron_sword 1 0

{HideFlags:32,ench:[]}

the item shows correctly using craftbukkit but the tags dissapear upon switching to spigot (see attached pictures).



 Comments   
Comment by Thinkofname [ 30/Jan/15 ]

Fixed spigot in latest

Comment by Ziheng Yang [ 30/Jan/15 ]

Sorry I meant HideFlags:34

I just tested using the latest build and HideFlags looks to be fixed, but the ench tag still doesnt work for adding the glow in spigot. It does, however, add the glow for leather armor but nothing else.

Comment by Thinkofname [ 30/Jan/15 ]

The command you provided isn't correct as HideFlags:32 won't hide modifiers, you'll need HideFlags:2 for that

Generated at Thu Apr 03 13:22:17 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.