Prevent drawers of same item type from incorrectly aliasing.

This commit is contained in:
Justin Aquadro committed 2015-01-29 00:09:40 -05:00
1 parent 50120d124c
commit 2e1e752434
1 file changed
+2 -1
@@ -196,7 +196,8 @@ public class StorageInventory implements IDrawerInventory
drawer.setStoredItem(null, 0);
else {
drawer.setStoredItem(item, 0);
drawer = findDrawer(item);
if (!drawer.canItemBeStored(item))
drawer = findDrawer(item);
if (drawer == null)
return;