From 8e308ecee39052829a05b450473c00bd172a590b Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 13 Sep 2017 20:32:27 +0200 Subject: [PATCH] Added simple debug info --- src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java b/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java index 72714d392..0e6867645 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java @@ -222,7 +222,7 @@ public class ContainerShop implements Shop { container = (InventoryHolder) this.loc.getBlock().getState(); return container.getInventory(); } catch (Exception e) { - throw new IllegalStateException("Inventory doesn't exist anymore"); + throw new IllegalStateException("Inventory doesn't exist anymore: "+this); } }