summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authordurron597 <martin.jared@gmail.com>2011-01-09 03:36:52 -0500
committerdurron597 <martin.jared@gmail.com>2011-01-09 03:36:52 -0500
commitdb31429871826037eaf824f81b68271321f4fa8a (patch)
treea9d585a0bf9c7a5cd5fc78c6b5a76aa4d46af48a /src/main/java/net
parent3e71c0a69997165803f3aa8ba85ba3c363452702 (diff)
downloadcraftbukkit-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')
-rw-r--r--src/main/java/net/minecraft/server/ItemBucket.java1
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);