From 8b37e9e2aaac7ea420ec99fd92c748a0d34611b8 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) --- ...51-Add-Alternate-Current-redstone-implementation.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/server/0851-Add-Alternate-Current-redstone-implementation.patch b/patches/server/0851-Add-Alternate-Current-redstone-implementation.patch index 2c2f1e5d0c..785ab6526b 100644 --- a/patches/server/0851-Add-Alternate-Current-redstone-implementation.patch +++ b/patches/server/0851-Add-Alternate-Current-redstone-implementation.patch @@ -725,7 +725,7 @@ index 0000000000000000000000000000000000000000..5a7209f05b549c222f6c9bc2af2a3579 +} diff --git a/src/main/java/alternate/current/wire/WireHandler.java b/src/main/java/alternate/current/wire/WireHandler.java new file mode 100644 -index 0000000000000000000000000000000000000000..35d9017c21ce77290d8e86cceb0676666e6e0eff +index 0000000000000000000000000000000000000000..dbd0f5eee8b7f0590817673ee5f9a529bd5184cd --- /dev/null +++ b/src/main/java/alternate/current/wire/WireHandler.java @@ -0,0 +1,1150 @@ @@ -1347,9 +1347,9 @@ index 0000000000000000000000000000000000000000..35d9017c21ce77290d8e86cceb067666 + 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; + } +