You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to enchant a tool with the 1.11.2 "Sweeping Edge" enchantment does not work as expected. The attempted fix was made in this commit, but this change wasn't sufficient, as it requires you to use "enchantments.names.sweeping" instead of the expected "sweeping edge" to reference the enchantment.
Example Tests
As you can see, the final test worked fine, using enchantments.names.sweeping.
This issue is also visible when looking at the Enchantment type on the types documentation, where the enchantment is listed as enchantments.names.sweeping.
Apparently, the issue is that the lang file was updated to use sweeping_edge as the enchantment ID while it should be just sweeping. I personally haven't tested this, but Ayase/Snow-Pyon of the Skript forums has tested for me and confirmed it worked on their server by manually editing the english.lang file to say sweeping: Sweeping Edge instead. I'm not sure why this would be the case, as the Spigot Enchantment enum uses the wording you used originally (SWEEPING_EDGE), however, the vanilla enchantment name is just sweeping, which may be causing the issue. I don't know how Skript's enchantment parsing works.
The text was updated successfully, but these errors were encountered:
TheBentoBox
added
the
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
label
Feb 25, 2017
Hello
Attempting to enchant a tool with the 1.11.2 "Sweeping Edge" enchantment does not work as expected. The attempted fix was made in this commit, but this change wasn't sufficient, as it requires you to use "enchantments.names.sweeping" instead of the expected "sweeping edge" to reference the enchantment.
Example Tests
As you can see, the final test worked fine, using enchantments.names.sweeping.
This issue is also visible when looking at the Enchantment type on the types documentation, where the enchantment is listed as enchantments.names.sweeping.
Setups
How To Fix
Apparently, the issue is that the lang file was updated to use
sweeping_edge
as the enchantment ID while it should be justsweeping
. I personally haven't tested this, but Ayase/Snow-Pyon of the Skript forums has tested for me and confirmed it worked on their server by manually editing the english.lang file to saysweeping: Sweeping Edge
instead. I'm not sure why this would be the case, as the Spigot Enchantment enum uses the wording you used originally (SWEEPING_EDGE
), however, the vanilla enchantment name is justsweeping
, which may be causing the issue. I don't know how Skript's enchantment parsing works.The text was updated successfully, but these errors were encountered: