SPIGOT-1775: Pass in unshifted block for PlayerBucketEmptyEvent
Dieser Commit ist enthalten in:
Ursprung
50b4cb8e72
Commit
dd39fae861
@ -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 {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren