1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-03 13:27:23 +01:00

update alternate current to v1.5.0 ()

This commit is contained in:
Space Walker 2023-02-21 17:58:18 +01:00
parent 78f94ecb2d
commit 7d56ee5d45

View file

@ -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;
+ }
+