diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockRedstoneWire.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockRedstoneWire.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/BlockRedstoneWire.java b/src/main/java/net/minecraft/server/BlockRedstoneWire.java index 4bd41b63..82e74257 100644 --- a/src/main/java/net/minecraft/server/BlockRedstoneWire.java +++ b/src/main/java/net/minecraft/server/BlockRedstoneWire.java @@ -32,6 +32,10 @@ public class BlockRedstoneWire extends Block { return false; } + public boolean b() { + return false; + } + public boolean canPlace(World world, int i, int j, int k) { return world.d(i, j - 1, k); } @@ -113,10 +117,10 @@ public class BlockRedstoneWire extends Block { // CraftBukkit end if (k1 != l1) { - world.j = true; + world.o = true; world.setData(i, j, k, l1); world.b(i, j, k, i, j, k); - world.j = false; + world.o = false; for (i2 = 0; i2 < 4; ++i2) { j2 = i; @@ -279,7 +283,7 @@ public class BlockRedstoneWire extends Block { boolean flag = this.canPlace(world, i, j, k); if (!flag) { - this.a_(world, i, j, k, i1); + this.b_(world, i, j, k, i1); world.setTypeId(i, j, k, 0); } else { this.g(world, i, j, k); @@ -294,10 +298,10 @@ public class BlockRedstoneWire extends Block { } public boolean c(World world, int i, int j, int k, int l) { - return !this.a ? false : this.b(world, i, j, k, l); + return !this.a ? false : this.a(world, i, j, k, l); } - public boolean b(IBlockAccess iblockaccess, int i, int j, int k, int l) { + public boolean a(IBlockAccess iblockaccess, int i, int j, int k, int l) { if (!this.a) { return false; } else if (iblockaccess.getData(i, j, k) == 0) { |