mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-07 09:52:34 -05:00
Debug
This commit is contained in:
1 parent
074c90e3cd
commit
22e0df384e
1 file changed
+5
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user