Fixed stupid bug with buckets and signs.
Dieser Commit ist enthalten in:
Ursprung
fd20876189
Commit
3e71c0a699
@ -342,7 +342,6 @@ implements ICommandListener {
|
|||||||
CraftItemStack craftItem = new CraftItemStack(itemstack);
|
CraftItemStack craftItem = new CraftItemStack(itemstack);
|
||||||
CraftPlayer player = new CraftPlayer(server, e);
|
CraftPlayer player = new CraftPlayer(server, e);
|
||||||
PlayerItemEvent pie = new PlayerItemEvent(Type.PLAYER_ITEM, player, craftItem, blockClicked, blockFace);
|
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.
|
// Craftbukkit We still call this event even in spawn protection.
|
||||||
// Don't call this event if using Buckets / signs
|
// Don't call this event if using Buckets / signs
|
||||||
@ -351,6 +350,8 @@ implements ICommandListener {
|
|||||||
case Bucket:
|
case Bucket:
|
||||||
case WaterBucket:
|
case WaterBucket:
|
||||||
case LavaBucket:
|
case LavaBucket:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
server.getPluginManager().callEvent(pie);
|
server.getPluginManager().callEvent(pie);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren