mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 01:21:21 +01:00
Fix double trapped (redstone) chest protection. #2215
This commit is contained in:
parent
7f50073ad1
commit
fd99da68d9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user