Add a config option to the enchant command to block incompaitable enchants. #4434
Answered
by
JRoy
IDerSArl97
asked this question in
Ideas and Feature Suggestions
-
Currently, the /enchant command only checks if the requested enchant can be applied to the item and is "safe" when configured to. It does not check if the enchant being requested is allowed on the item as what does the Minecraft version of the command/anvils do, thus allowing combinations such as fortune and silk touch to be applied to an item. |
Beta Was this translation helpful? Give feedback.
Answered by
JRoy
Feb 19, 2023
Replies: 1 comment
-
We already use Enchantment#canEnchantItem to validate this. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JRoy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We already use Enchantment#canEnchantItem to validate this.