From 7d56ee5d4540a66fc5b822e1a46018de63b50ffe Mon Sep 17 00:00:00 2001 From: Space Walker <48224626+SpaceWalkerRS@users.noreply.github.com> Date: Tue, 21 Feb 2023 17:58:18 +0100 Subject: [PATCH] update alternate current to v1.5.0 (#8882) --- .../Add-Alternate-Current-redstone-implementation.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/server/Add-Alternate-Current-redstone-implementation.patch b/patches/server/Add-Alternate-Current-redstone-implementation.patch index adbdd6eab1..5fe7eb1121 100644 --- a/patches/server/Add-Alternate-Current-redstone-implementation.patch +++ b/patches/server/Add-Alternate-Current-redstone-implementation.patch @@ -1347,9 +1347,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + WireNode wire = node.asWire(); + findRoot(wire); + -+ // If the wire at the given position is not in an invalid state or is not -+ // part of a larger network, we can exit early. -+ if (!wire.searched || wire.connections.total == 0) { ++ // If the wire at the given position is not in an invalid state ++ // we can exit early. ++ if (!wire.searched) { + return; + } +