diff --git a/Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java index 41bb75015..139039e34 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java @@ -807,7 +807,7 @@ public class EssentialsPlayerListener implements Listener { } else if (type == InventoryType.CHEST && top.getSize() == 9) { final User user = ess.getUser((Player) event.getWhoClicked()); final InventoryHolder invHolder = top.getHolder(); - if (invHolder instanceof HumanEntity && user.isInvSee()) { + if (invHolder instanceof HumanEntity && user.isInvSee() && event.getClick() != ClickType.MIDDLE) { event.setCancelled(true); refreshPlayer = user.getBase(); }