-
-
Notifications
You must be signed in to change notification settings - Fork 442
Comparing type of two items, of the same type, with differing enchants fails #8144
Copy link
Copy link
Closed
Labels
bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.The issue has been fully resolved and the change will be in the next Skript update.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Metadata
Metadata
Assignees
Labels
bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.The issue has been fully resolved and the change will be in the next Skript update.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Type
Projects
Status
Done - Released
Skript/Server Version
Bug Description
When an item has an enchantment, comparing its type with
type of {_item}makes the enchanted item and the non-enchanted item be recognized as different items.Expected Behavior
.
Steps to Reproduce
At this point, if either the left or right item has an enchantment, they are recognized as different items.
Errors or Screenshots
No response
Other
When comparing like in the code below, the problem is resolved, but I’m leaving an issue for now.
Agreement