diff --git a/src/com/jaquadro/minecraft/storagedrawers/api/storage/IDrawer.java b/src/com/jaquadro/minecraft/storagedrawers/api/storage/IDrawer.java index 68ab1e394..cfe68aae5 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/api/storage/IDrawer.java +++ b/src/com/jaquadro/minecraft/storagedrawers/api/storage/IDrawer.java @@ -68,7 +68,7 @@ default int adjustStoredItemCount (int amount) { int stored = getStoredItemCount(); int destroy = Math.min(Math.abs(amount), getStoredItemCount()); setStoredItemCount(stored - destroy); - return amount + destroy; + return Math.abs(amount + destroy); } else { return 0; }