Corrects check in last change

This commit is contained in:
Sotr
2018-08-05 20:14:08 +08:00
parent e563233ff3
commit c2748ea2df

View File

@@ -39,7 +39,7 @@ public class ItemMonsterEgg extends Item {
IBlockData iblockdata = world.getType(blockposition);
Block block = iblockdata.getBlock();
if (block == Blocks.MOB_SPAWNER && AkarinGlobalConfig.allowSpawnerModify && entityhuman.isCreativeAndOp()) { // Akarin
if (block == Blocks.MOB_SPAWNER && (AkarinGlobalConfig.allowSpawnerModify || entityhuman.isCreativeAndOp())) { // Akarin
TileEntity tileentity = world.getTileEntity(blockposition);
if (tileentity instanceof TileEntityMobSpawner) {