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
ItemStackitem = player.getItemInHand().orElseThrow(() -> newCommandException(this.getErrorText("You need to be holding an item to enchant it!")));
164
+
ItemStackitem = player.getItemInHand(HandTypes.MAIN_HAND).orElseThrow(() -> newCommandException(this.getErrorText("You need to be holding an item to enchant it!")));
0 commit comments