mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Fixed stupid bug with buckets and signs.
This commit is contained in:
parent
fd20876189
commit
3e71c0a699
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue