summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
authordurron597 <martin.jared@gmail.com>2011-01-09 03:31:37 -0500
committerdurron597 <martin.jared@gmail.com>2011-01-09 03:32:04 -0500
commit3e71c0a69997165803f3aa8ba85ba3c363452702 (patch)
tree8de6a7d8b1c08837a8d75387977b836caec0455f /src/main/java/net/minecraft
parentfd20876189f020df0cdf0bd4a45e6712f82fc29d (diff)
downloadcraftbukkit-3e71c0a69997165803f3aa8ba85ba3c363452702.tar
craftbukkit-3e71c0a69997165803f3aa8ba85ba3c363452702.tar.gz
craftbukkit-3e71c0a69997165803f3aa8ba85ba3c363452702.tar.lz
craftbukkit-3e71c0a69997165803f3aa8ba85ba3c363452702.tar.xz
craftbukkit-3e71c0a69997165803f3aa8ba85ba3c363452702.zip
Fixed stupid bug with buckets and signs.
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r--src/main/java/net/minecraft/server/NetServerHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java
index 063e0526..fb97d211 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);
}