Shopkeepers

Shopkeepers

2M Downloads

HideFlags tag exception

juinwei7 opened this issue ยท 3 comments

commented

Preliminaries:

  • Shopkeepers version: 2.18.0
  • Spigot version: 1.20.1

HideFlags is originally 255 and will become 127 after being added.

Occurs after reboot

commented

I think this is caused by the Spigot server converting these flags to signed byte (max value 127) in certain cases: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java#880

I will propose an upstream fix shortly.

commented

A fix has been merged into the Spigot server. So rebuild the latest server version and try again.