NBT-based ItemTypes are not properly compared on 2.7 #5693
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
priority: medium
Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Skript/Server Version
Bug Description
ItemTypes that rely on NBT tags (itemmeta?), like potions, tipped arrows, goat horns, and fireworks do not seem to work in comparisons. Any potion is considered to be a
fire resistance potion
, or awater bottle
, no matter its true effect.Expected Behavior
These aliases should behave properly in item comparisons. Fire resistance potions are not strength potions.
Steps to Reproduce
Errors or Screenshots
Other
Notably, removing
type of
seems to make everything work. However, this impacts things likeif tool is a water bottle
.Agreement
The text was updated successfully, but these errors were encountered: