diff --git a/src/main/java/org/maxgamer/quickshop/util/Util.java b/src/main/java/org/maxgamer/quickshop/util/Util.java index db3a06b97..9f55955dd 100644 --- a/src/main/java/org/maxgamer/quickshop/util/Util.java +++ b/src/main/java/org/maxgamer/quickshop/util/Util.java @@ -905,6 +905,11 @@ public class Util { if (!(state instanceof Chest)) { return null; } + org.bukkit.block.data.type.Chest chestBlockData = (org.bukkit.block.data.type.Chest) state.getBlockData(); + Util.debugLog("Facing to block: " + state.getBlock().getRelative(chestBlockData.getFacing())); + Util.debugLog("Facing op to block: " + state.getBlock().getRelative(chestBlockData.getFacing().getOppositeFace())); + + Chest oneSideOfChest = (Chest) state; InventoryHolder chestHolder = oneSideOfChest.getInventory().getHolder(); if (chestHolder instanceof DoubleChest) {