Add config check for locks

This commit is contained in:
Justin Aquadro committed 2014-11-29 21:49:16 -05:00
1 parent 074064e97c
commit cd1d2cd636
1 file changed
+3
@@ -103,6 +103,9 @@ public abstract class TileEntityDrawers extends TileEntity implements IDrawerGro
}
public boolean isLocked () {
if (!StorageDrawers.config.cache.enableLockUpgrades)
return false;
return locked;
}