diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index f55f7dd703..fd186a1615 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -145,7 +145,8 @@ public class EntityPlayer extends EntityHuman implements ICrafting { if (this.bL > 0) { return false; } else { - if (!this.b.pvpMode) { + // CraftBukkit - this.b.pvpMode -> this.world.pvpMode + if (!this.world.pvpMode) { if (entity instanceof EntityHuman) { return false; }