summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
authorTahg <tahgtahv@gmail.com>2011-03-12 02:02:25 -0500
committerTahg <tahgtahv@gmail.com>2011-03-12 02:02:25 -0500
commit0ac5c7f4cf10b258d30ae5d1fcf3281da7e847e6 (patch)
tree42a89d74ea2b8bcaf96ef1aeab9a5566da37a608 /src/main/java/net/minecraft
parent79ccc5320a29079152798a47c4c43b7e9ac5a217 (diff)
downloadcraftbukkit-0ac5c7f4cf10b258d30ae5d1fcf3281da7e847e6.tar
craftbukkit-0ac5c7f4cf10b258d30ae5d1fcf3281da7e847e6.tar.gz
craftbukkit-0ac5c7f4cf10b258d30ae5d1fcf3281da7e847e6.tar.lz
craftbukkit-0ac5c7f4cf10b258d30ae5d1fcf3281da7e847e6.tar.xz
craftbukkit-0ac5c7f4cf10b258d30ae5d1fcf3281da7e847e6.zip
fixed diodes
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r--src/main/java/net/minecraft/server/BlockRedstoneWire.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockRedstoneWire.java b/src/main/java/net/minecraft/server/BlockRedstoneWire.java
index 1524781e..7caebbc3 100644
--- a/src/main/java/net/minecraft/server/BlockRedstoneWire.java
+++ b/src/main/java/net/minecraft/server/BlockRedstoneWire.java
@@ -282,7 +282,7 @@ public class BlockRedstoneWire extends Block {
world.e(i, j, k, 0);
} else
// Craftbukkit
- if ((Block.byId[l] != null && Block.byId[l].c()) || Block.DIODE_OFF.id == l && Block.DIODE_ON.id == l) {
+ if ((Block.byId[l] != null && Block.byId[l].c()) || Block.DIODE_OFF.id == l || Block.DIODE_ON.id == l) {
this.g(world, i, j, k);
}