Skip to content

Commit

Permalink
fix(autoEnchanter): remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
JWJUN233233 committed Aug 25, 2024
1 parent 02299b6 commit bc33bac
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ protected MachineRecipe findNextRecipe(BlockMenu menu) {
AutoEnchantEvent event = new AutoEnchantEvent(item, menu.getBlock());
Bukkit.getPluginManager().callEvent(event);

event.setCancelled(true);

if (event.isCancelled()) {
if (InvUtils.fitAll(menu.toInventory(), new ItemStack[] {item}, getOutputSlots())) {
menu.replaceExistingItem(otherSlot, null);
Expand Down

0 comments on commit bc33bac

Please sign in to comment.