Fix regression with super compacting frames and probably other mods

This commit is contained in:
Justin Aquadro committed 2015-06-26 22:53:07 -04:00
1 parent b1fcb1ab3e
commit 58a68898bb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ buildscript {
apply plugin: 'forge'
version = "1.7.10-1.5.8"
version = "1.7.10-1.5.9"
group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "StorageDrawers"
@@ -155,7 +155,7 @@ public class StorageInventory implements IDrawerInventory
adapter.syncInventory();
ItemStack stack = adapter.getInventoryStack(SlotType.OUTPUT).copy();
stack.stackSize = Math.min(stack.stackSize, drawer.getStoredItemCount());
stack.stackSize = Math.min(stack.stackSize, count);
adapter.getInventoryStack(SlotType.OUTPUT).stackSize -= stack.stackSize;
return stack;