Auxilor / EcoItems

Custom items plugin for the latest spigot version
GNU General Public License v3.0
50 stars 27 forks source link

crafting vs give command #58

Open vox4455 opened 2 years ago

vox4455 commented 2 years ago

When i use the give command my other plugins do not recognize the item but when I craft it in the vanilla crafting table the other plugins do. this is a new issue that did not happen before on previous versions. no errors posting. running updated jars on paper 1.18.2 paper

This server is running Paper version git-Paper-"7f47b9b" (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: 7f47b9b)

vox4455 commented 2 years ago

https://pastebin.com/FTzJCY51

looks like the give command and the crafting table create two different metadata's for the same item

vox4455 commented 2 years ago

figured out the meta data changes when in a gui of the other plugin and in creative mode

Opalinium commented 2 years ago

Can confirm this is an issue, Changes in meta-data break a lot of my NPC shops which have EcoItems in them.

WillFP commented 2 years ago

1) Can fix this, no worries 2) Tell your other plugin to never use ItemMeta#equals because that will break all the time