"Is Enchanted" condition doesn't check for enchantment level #3664
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: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Description
"Is Enchanted" condition is true for every level of enchantment that is tested. Possibly existing since #2049
Steps to Reproduce
Then if you click on any item enchanted with any level of efficiency you will get:
Expected Behavior
Official docs:
%item types% (is|are) enchanted [with %enchantment type%]
Official example:
tool of the player is enchanted with efficiency 2
Enchantment type syntax (formatting on the website is broken btw):
<enchantment> [<level>]
So, e.g. efi5 should appear only when clicking an item with efficiency 5.
Server Information
The text was updated successfully, but these errors were encountered: