insertion check should be LOCK_EMPTY

This commit is contained in:
Justin Aquadro committed 2015-11-21 23:20:24 -05:00
1 parent 1c9e98afee
commit 92284a618a
2 files changed
+2 -2

No files matched your search

@@ -71,7 +71,7 @@ public class CompDrawerData extends BaseDrawerData implements IFractionalDrawer,
@Override
public boolean canItemBeStored (ItemStack itemPrototype) {
if (getStoredItemPrototype() == null && !isLocked(LockAttribute.LOCK_POPULATED))
if (getStoredItemPrototype() == null && !isLocked(LockAttribute.LOCK_EMPTY))
return true;
return areItemsEqual(itemPrototype);
@@ -135,7 +135,7 @@ public class DrawerData extends BaseDrawerData implements IVoidable, IShroudable
@Override
public boolean canItemBeStored (ItemStack itemPrototype) {
if (protoStack == nullStack && !isLocked(LockAttribute.LOCK_POPULATED))
if (protoStack == nullStack && !isLocked(LockAttribute.LOCK_EMPTY))
return true;
return areItemsEqual(itemPrototype);