Skip to content

Commit

Permalink
Fix double trapped (redstone) chest protection. #2215
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Oct 24, 2023
1 parent 7f50073 commit fd99da6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private boolean checkSpecificInventories(InventoryClickEvent e, Player player, I
this.checkIsland(e, player, e.getInventory().getLocation(), Flags.CRAFTING);
return true;
} else if (e.getInventory() instanceof DoubleChestInventory) {
this.checkIsland(e, player, e.getInventory().getLocation(), Flags.CHEST);
checkInvHolder(e.getInventory().getLocation(), e, player);
return true;
} else if (e.getInventory() instanceof EnchantingInventory) {
this.checkIsland(e, player, e.getInventory().getLocation(), Flags.ENCHANTING);
Expand Down

0 comments on commit fd99da6

Please sign in to comment.