mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-13 00:47:31 +00:00
Fix regression with super compacting frames and probably other mods
This commit is contained in:
1 parent
b1fcb1ab3e
commit
58a68898bb
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user