Another dumb bucket bug.

This commit is contained in:
durron597 2011-01-09 03:36:52 -05:00
parent 3e71c0a699
commit db31429871

View File

@ -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);