SkriptLang / skript-aliases

Aliases for Skript
20 stars 36 forks source link

Fix comparison with normal golden apple failing #46

Closed Matocolotoe closed 5 years ago

Matocolotoe commented 5 years ago

Sometimes, comparing an item in a slot or other stuff like that with a normal golden apple fails because of the {Damage:0} attached to it. Note that many other "parent" items with data value 0 don't have it. Removing it fixes comparison problems.

bensku commented 5 years ago

Unfortunately, this would make alias 'normal golden apple' match enchanted golden apples.

TheBentoBox commented 5 years ago

The ideal change here is that the normal is made mandatory and then there is an [any] golden apple¦s added which maps to the ID with no Damage specified.