From db31429871826037eaf824f81b68271321f4fa8a Mon Sep 17 00:00:00 2001 From: durron597 Date: Sun, 9 Jan 2011 03:36:52 -0500 Subject: [PATCH] Another dumb bucket bug. --- src/main/java/net/minecraft/server/ItemBucket.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/ItemBucket.java b/src/main/java/net/minecraft/server/ItemBucket.java index 7fe09727f5..7fd30540db 100644 --- a/src/main/java/net/minecraft/server/ItemBucket.java +++ b/src/main/java/net/minecraft/server/ItemBucket.java @@ -113,6 +113,7 @@ public class ItemBucket extends Item { } else { // Craftbukkit bucket empty. PlayerItemEvent pie = new PlayerItemEvent(Type.PLAYER_ITEM, thePlayer, itemInHand, blockClicked, direction); + ((WorldServer) world).getServer().getPluginManager().callEvent(pie); if (!pie.isCancelled()) { world.b(i, j, k, a, 0);