mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Fixed levers + buttons
This commit is contained in:
@@ -168,7 +168,7 @@ public class BlockLever extends Block {
|
||||
((WorldServer) world).getServer().getPluginManager().callEvent(bre);
|
||||
// Craftbukkit end
|
||||
|
||||
if ((bre.getNewCurrent() > 0) == (k == 8)) {
|
||||
if ((bre.getNewCurrent() > 0) == (j1 == 8)) {
|
||||
world.c(i, j, k, i1 + j1);
|
||||
world.b(i, j, k, i, j, k);
|
||||
world.a((double) i + 0.5D, (double) j + 0.5D, (double) k + 0.5D, "random.click", 0.3F, j1 <= 0 ? 0.5F : 0.6F);
|
||||
|
Reference in New Issue
Block a user