aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLulu13022002 <[email protected]>2024-12-23 19:14:35 +0100
committerGitHub <[email protected]>2024-12-23 19:14:35 +0100
commitc76809973b3edabae865c0bdd7f6616c71d51227 (patch)
tree18742c67e48460224b2b6ab0e4fd7aa8107eebea
parent793d36106d5f017b0dc611a45ce0382318afaf02 (diff)
downloadPaper-c76809973b3edabae865c0bdd7f6616c71d51227.tar.gz
Paper-c76809973b3edabae865c0bdd7f6616c71d51227.zip
Fix tripwires (#11790)
-rw-r--r--paper-server/patches/sources/net/minecraft/world/level/block/TripWireBlock.java.patch2
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());