diff --git a/src/main/java/net/simplycrafted/StickyLocks/listeners/StickyLocksClick.java b/src/main/java/net/simplycrafted/StickyLocks/listeners/StickyLocksClick.java index 4505ea7..0dbcb63 100644 --- a/src/main/java/net/simplycrafted/StickyLocks/listeners/StickyLocksClick.java +++ b/src/main/java/net/simplycrafted/StickyLocks/listeners/StickyLocksClick.java @@ -102,6 +102,9 @@ public void onPlayerInteract(PlayerInteractEvent event) { if (protection.getOwner().equals(player.getUniqueId()) || player.hasPermission("stickylocks.locksmith")) { stickylocks.sendMessage(player, "Unlocking...", true); db.unlockBlock(target); + if (Util.getOtherHalfOfChest(target) != null) { + db.unlockBlock(Util.getOtherHalfOfChest(target)); + } } else { stickylocks.sendMessage(player, "You do not own this object", false); }