mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 05:54:43 +01:00
possible fix for levers, ladders, and buttons
This commit is contained in:
parent
f622db3ea1
commit
6655b89037
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ public class ItemBlock extends Item {
|
||||||
} else {
|
} else {
|
||||||
world.f(i, j, k, a); // <-- world.b does this on success (tell the world)
|
world.f(i, j, k, a); // <-- world.b does this on success (tell the world)
|
||||||
|
|
||||||
Block.byId[this.a].c(world, i, j, k, l);
|
Block.byId[this.a].d(world, i, j, k, l);
|
||||||
Block.byId[this.a].a(world, i, j, k, (EntityLiving) entityhuman);
|
Block.byId[this.a].a(world, i, j, k, (EntityLiving) entityhuman);
|
||||||
world.a((double) ((float) i + 0.5F), (double) ((float) j + 0.5F), (double) ((float) k + 0.5F), block.stepSound.c(), (block.stepSound.a() + 1.0F) / 2.0F, block.stepSound.b() * 0.8F);
|
world.a((double) ((float) i + 0.5F), (double) ((float) j + 0.5F), (double) ((float) k + 0.5F), block.stepSound.c(), (block.stepSound.a() + 1.0F) / 2.0F, block.stepSound.b() * 0.8F);
|
||||||
--itemstack.count;
|
--itemstack.count;
|
||||||
|
|
Loading…
Reference in a new issue