mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Implement config option for operators to bypass security, added turbine dump/dump excess functionality
This commit is contained in:
1 parent
8f8f1751ec
commit
3b214376ba
10 files changed
+111
-16
No files matched your search
@@ -688,7 +688,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
|
||||
{
|
||||
String owner = ((ISecurityTile)tileEntity).getSecurity().getOwner();
|
||||
|
||||
if(owner == null || entityplayer.getCommandSenderName().equals(owner))
|
||||
if(MekanismUtils.isOp((EntityPlayerMP)entityplayer) || owner == null || entityplayer.getCommandSenderName().equals(owner))
|
||||
{
|
||||
entityplayer.openGui(Mekanism.instance, type.guiId, world, x, y, z);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user