From c76809973b3edabae865c0bdd7f6616c71d51227 Mon Sep 17 00:00:00 2001 From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:14:35 +0100 Subject: Fix tripwires (#11790) --- .../sources/net/minecraft/world/level/block/TripWireBlock.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3