mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-13 00:47:31 +00:00
Add config check for locks
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user