diff options
Diffstat (limited to 'nms-patches/BlockDiodeAbstract.patch')
-rw-r--r-- | nms-patches/BlockDiodeAbstract.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/BlockDiodeAbstract.patch b/nms-patches/BlockDiodeAbstract.patch index e5d9e7d5..f7f4522e 100644 --- a/nms-patches/BlockDiodeAbstract.patch +++ b/nms-patches/BlockDiodeAbstract.patch @@ -18,13 +18,13 @@ + return; + } + // CraftBukkit end - world.setTypeAndData(blockposition, this.A(iblockdata), 2); + world.setTypeAndData(blockposition, this.z(iblockdata), 2); } else if (!this.d) { + // CraftBukkit start + if (CraftEventFactory.callRedstoneChange(world, blockposition.getX(), blockposition.getY(), blockposition.getZ(), 0, 15).getNewCurrent() != 15) { + return; + } + // CraftBukkit end - world.setTypeAndData(blockposition, this.z(iblockdata), 2); + world.setTypeAndData(blockposition, this.y(iblockdata), 2); if (!flag) { - world.a(blockposition, this.z(iblockdata).getBlock(), this.F(iblockdata), -1); + world.a(blockposition, this.y(iblockdata).getBlock(), this.E(iblockdata), -1); |