From dd39fae8615d3cb6c1d8d05b5587418304ba16d1 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 6 Mar 2016 12:42:45 +1100 Subject: [PATCH] SPIGOT-1775: Pass in unshifted block for PlayerBucketEmptyEvent --- nms-patches/ItemBucket.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/ItemBucket.patch b/nms-patches/ItemBucket.patch index 3993858430..36903ba9a8 100644 --- a/nms-patches/ItemBucket.patch +++ b/nms-patches/ItemBucket.patch @@ -50,7 +50,7 @@ if (!entityhuman.a(blockposition1, movingobjectposition.direction, itemstack)) { return new InteractionResultWrapper(EnumInteractionResult.FAIL, itemstack); - } else if (this.a(entityhuman, world, blockposition1)) { -+ } else if (this.a(entityhuman, world, blockposition1, movingobjectposition.direction, itemstack)) { // CraftBukkit ++ } else if (this.a(entityhuman, world, blockposition, movingobjectposition.direction, itemstack)) { // CraftBukkit entityhuman.b(StatisticList.b((Item) this)); return !entityhuman.abilities.canInstantlyBuild ? new InteractionResultWrapper(EnumInteractionResult.SUCCESS, new ItemStack(Items.BUCKET)) : new InteractionResultWrapper(EnumInteractionResult.SUCCESS, itemstack); } else {