Added simple debug info

This commit is contained in:
Kai committed 2017-09-13 20:32:27 +02:00
1 parent c62b24a134
commit 8e308ecee3
1 file changed
+1 -1
@@ -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);
}
}