diff options
author | md_5 <git@md-5.net> | 2018-11-28 09:09:56 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-11-28 09:09:56 +1100 |
commit | ee6684bba725a6d2f30422ae01041f3949ff2d76 (patch) | |
tree | fc09987fabf2e15ff9e65fbc8f9c8b0912aa4285 | |
parent | 97b0057ad3577bc433cc44ed44cc09263ab58f89 (diff) | |
download | craftbukkit-ee6684bba725a6d2f30422ae01041f3949ff2d76.tar craftbukkit-ee6684bba725a6d2f30422ae01041f3949ff2d76.tar.gz craftbukkit-ee6684bba725a6d2f30422ae01041f3949ff2d76.tar.lz craftbukkit-ee6684bba725a6d2f30422ae01041f3949ff2d76.tar.xz craftbukkit-ee6684bba725a6d2f30422ae01041f3949ff2d76.zip |
SPIGOT-4507: BlockRedstoneEvent current flipped for levers
-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; |