Add config option to disable block protections

This commit is contained in:
Clienthax committed 2016-08-15 02:58:15 +01:00
1 parent 833d7372fb
commit 03191f198b
9 files changed
+19 -6

No files matched your search

@@ -944,7 +944,7 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, ISpec
@Override
public SecurityMode getSecurity(ItemStack stack)
{
if(stack.stackTagCompound == null)
if(stack.stackTagCompound == null || !general.allowProtection)
{
return SecurityMode.PUBLIC;
}