mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 02:55:47 +01:00
Another dumb bucket bug.
This commit is contained in:
parent
3e71c0a699
commit
db31429871
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user