diff options
author | durron597 <martin.jared@gmail.com> | 2011-01-09 03:36:52 -0500 |
---|---|---|
committer | durron597 <martin.jared@gmail.com> | 2011-01-09 03:36:52 -0500 |
commit | db31429871826037eaf824f81b68271321f4fa8a (patch) | |
tree | a9d585a0bf9c7a5cd5fc78c6b5a76aa4d46af48a /src/main/java/net/minecraft | |
parent | 3e71c0a69997165803f3aa8ba85ba3c363452702 (diff) | |
download | craftbukkit-db31429871826037eaf824f81b68271321f4fa8a.tar craftbukkit-db31429871826037eaf824f81b68271321f4fa8a.tar.gz craftbukkit-db31429871826037eaf824f81b68271321f4fa8a.tar.lz craftbukkit-db31429871826037eaf824f81b68271321f4fa8a.tar.xz craftbukkit-db31429871826037eaf824f81b68271321f4fa8a.zip |
Another dumb bucket bug.
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemBucket.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ItemBucket.java b/src/main/java/net/minecraft/server/ItemBucket.java index 7fe09727..7fd30540 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); |