mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 04: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 {
|
} else {
|
||||||
// Craftbukkit bucket empty.
|
// Craftbukkit bucket empty.
|
||||||
PlayerItemEvent pie = new PlayerItemEvent(Type.PLAYER_ITEM, thePlayer, itemInHand, blockClicked, direction);
|
PlayerItemEvent pie = new PlayerItemEvent(Type.PLAYER_ITEM, thePlayer, itemInHand, blockClicked, direction);
|
||||||
|
((WorldServer) world).getServer().getPluginManager().callEvent(pie);
|
||||||
|
|
||||||
if (!pie.isCancelled()) {
|
if (!pie.isCancelled()) {
|
||||||
world.b(i, j, k, a, 0);
|
world.b(i, j, k, a, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user