Fix double trapped (redstone) chest protection. #2215

This commit is contained in:
tastybento 2023-10-23 18:31:57 -07:00
parent 7f50073ad1
commit fd99da68d9
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ public class InventoryListener extends FlagListener
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);