diff --git a/nms-patches/BlockLever.patch b/nms-patches/BlockLever.patch index 945ac93564..391ba43249 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;