diff options
author | md_5 <git@md-5.net> | 2016-03-06 12:42:45 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-06 12:42:45 +1100 |
commit | dd39fae8615d3cb6c1d8d05b5587418304ba16d1 (patch) | |
tree | 7bc20ec43b3f96c10ab9bd2302a496b36cd034fe /nms-patches | |
parent | 50b4cb8e723eb5b0a05fc5113ea3e9c5121bc6ea (diff) | |
download | craftbukkit-dd39fae8615d3cb6c1d8d05b5587418304ba16d1.tar craftbukkit-dd39fae8615d3cb6c1d8d05b5587418304ba16d1.tar.gz craftbukkit-dd39fae8615d3cb6c1d8d05b5587418304ba16d1.tar.lz craftbukkit-dd39fae8615d3cb6c1d8d05b5587418304ba16d1.tar.xz craftbukkit-dd39fae8615d3cb6c1d8d05b5587418304ba16d1.zip |
SPIGOT-1775: Pass in unshifted block for PlayerBucketEmptyEvent
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/ItemBucket.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/ItemBucket.patch b/nms-patches/ItemBucket.patch index 39938584..36903ba9 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 { |