mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
update alternate current to v1.5.0 (#8882)
This commit is contained in:
parent
d9699b5935
commit
8b37e9e2aa
@ -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;
|
||||
+ }
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user