diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 063e0526dd..fb97d21172 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -342,7 +342,6 @@ implements ICommandListener { CraftItemStack craftItem = new CraftItemStack(itemstack); CraftPlayer player = new CraftPlayer(server, e); PlayerItemEvent pie = new PlayerItemEvent(Type.PLAYER_ITEM, player, craftItem, blockClicked, blockFace); - server.getPluginManager().callEvent(pie); // Craftbukkit We still call this event even in spawn protection. // Don't call this event if using Buckets / signs @@ -351,6 +350,8 @@ implements ICommandListener { case Bucket: case WaterBucket: case LavaBucket: + break; + default: server.getPluginManager().callEvent(pie); }