diff options
-rw-r--r-- | nms-patches/BlockLever.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockLever.patch b/nms-patches/BlockLever.patch index 945ac935..391ba432 100644 --- a/nms-patches/BlockLever.patch +++ b/nms-patches/BlockLever.patch @@ -13,7 +13,7 @@ return true; } else { + // CraftBukkit start - Interact Lever -+ boolean powered = iblockdata.get(POWERED); ++ boolean powered = !flag; // Old powered state + org.bukkit.block.Block block = world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ()); + int old = (powered) ? 15 : 0; + int current = (!powered) ? 15 : 0; |