mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-23 21:49:39 +00:00
Prevent drawers of same item type from incorrectly aliasing.
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user