Skip to content

Commit c2748ea

Browse files
committed
Corrects check in last change
1 parent e563233 commit c2748ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/src/main/java/net/minecraft/server/ItemMonsterEgg.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public EnumInteractionResult a(EntityHuman entityhuman, World world, BlockPositi
3939
IBlockData iblockdata = world.getType(blockposition);
4040
Block block = iblockdata.getBlock();
4141

42-
if (block == Blocks.MOB_SPAWNER && AkarinGlobalConfig.allowSpawnerModify && entityhuman.isCreativeAndOp()) { // Akarin
42+
if (block == Blocks.MOB_SPAWNER && (AkarinGlobalConfig.allowSpawnerModify || entityhuman.isCreativeAndOp())) { // Akarin
4343
TileEntity tileentity = world.getTileEntity(blockposition);
4444

4545
if (tileentity instanceof TileEntityMobSpawner) {

0 commit comments

Comments
 (0)