diff options
author | Lulu13022002 <[email protected]> | 2024-12-23 19:14:35 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-23 19:14:35 +0100 |
commit | c76809973b3edabae865c0bdd7f6616c71d51227 (patch) | |
tree | 18742c67e48460224b2b6ab0e4fd7aa8107eebea | |
parent | 793d36106d5f017b0dc611a45ce0382318afaf02 (diff) | |
download | Paper-c76809973b3edabae865c0bdd7f6616c71d51227.tar.gz Paper-c76809973b3edabae865c0bdd7f6616c71d51227.zip |
Fix tripwires (#11790)
-rw-r--r-- | paper-server/patches/sources/net/minecraft/world/level/block/TripWireBlock.java.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paper-server/patches/sources/net/minecraft/world/level/block/TripWireBlock.java.patch b/paper-server/patches/sources/net/minecraft/world/level/block/TripWireBlock.java.patch index 4be069ee99..72fa2da03f 100644 --- a/paper-server/patches/sources/net/minecraft/world/level/block/TripWireBlock.java.patch +++ b/paper-server/patches/sources/net/minecraft/world/level/block/TripWireBlock.java.patch @@ -71,7 +71,7 @@ } + + // CraftBukkit start - Call interact even when triggering connected tripwire -+ if (flag != poweredValue && poweredValue && blockState.getValue(TripWireBlock.ATTACHED)) { ++ if (poweredValue != flag && flag && blockState.getValue(TripWireBlock.ATTACHED)) { + org.bukkit.World bworld = level.getWorld(); + org.bukkit.plugin.PluginManager manager = level.getCraftServer().getPluginManager(); + org.bukkit.block.Block block = bworld.getBlockAt(pos.getX(), pos.getY(), pos.getZ()); |