Skip to content

Commit

Permalink
Corrects check in last change
Browse files Browse the repository at this point in the history
  • Loading branch information
cakoyo committed Aug 5, 2018
1 parent e563233 commit c2748ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public EnumInteractionResult a(EntityHuman entityhuman, World world, BlockPositi
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) {
Expand Down

0 comments on commit c2748ea

Please sign in to comment.