diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-14 16:11:04 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-14 16:11:04 +0000 |
commit | fe4d5db0e0382faa10e95abb0c4d47a0823deefe (patch) | |
tree | 6f6bd90964f61d3f5cdaedf761cbb796a330db38 /src/main/java/net/minecraft/server/BlockLever.java | |
parent | dea7d3a81d21c27294256b37eb305744abcba25a (diff) | |
download | craftbukkit-fe4d5db0e0382faa10e95abb0c4d47a0823deefe.tar craftbukkit-fe4d5db0e0382faa10e95abb0c4d47a0823deefe.tar.gz craftbukkit-fe4d5db0e0382faa10e95abb0c4d47a0823deefe.tar.lz craftbukkit-fe4d5db0e0382faa10e95abb0c4d47a0823deefe.tar.xz craftbukkit-fe4d5db0e0382faa10e95abb0c4d47a0823deefe.zip |
Fixed levers + buttons
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockLever.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockLever.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockLever.java b/src/main/java/net/minecraft/server/BlockLever.java index 30ee8f5d..a7ddac37 100644 --- a/src/main/java/net/minecraft/server/BlockLever.java +++ b/src/main/java/net/minecraft/server/BlockLever.java @@ -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); |