mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 09:42:05 +01:00
update alternate current to v1.5.0 (#8882)
This commit is contained in:
parent
d9699b5935
commit
8b37e9e2aa
1 changed files with 4 additions and 4 deletions
|
@ -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
|
diff --git a/src/main/java/alternate/current/wire/WireHandler.java b/src/main/java/alternate/current/wire/WireHandler.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..35d9017c21ce77290d8e86cceb0676666e6e0eff
|
index 0000000000000000000000000000000000000000..dbd0f5eee8b7f0590817673ee5f9a529bd5184cd
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/alternate/current/wire/WireHandler.java
|
+++ b/src/main/java/alternate/current/wire/WireHandler.java
|
||||||
@@ -0,0 +1,1150 @@
|
@@ -0,0 +1,1150 @@
|
||||||
|
@ -1347,9 +1347,9 @@ index 0000000000000000000000000000000000000000..35d9017c21ce77290d8e86cceb067666
|
||||||
+ WireNode wire = node.asWire();
|
+ WireNode wire = node.asWire();
|
||||||
+ findRoot(wire);
|
+ findRoot(wire);
|
||||||
+
|
+
|
||||||
+ // If the wire at the given position is not in an invalid state or is not
|
+ // If the wire at the given position is not in an invalid state
|
||||||
+ // part of a larger network, we can exit early.
|
+ // we can exit early.
|
||||||
+ if (!wire.searched || wire.connections.total == 0) {
|
+ if (!wire.searched) {
|
||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue