diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-29 11:14:10 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-29 11:14:10 +0200 |
commit | 3569dec0ab32c357eb34cff79c200f379f3d19ce (patch) | |
tree | eb266d940d253964d953cfca5563df9c27e5b0b0 /src/main/java/at/hannibal2/skyhanni/data | |
parent | e70a67bd5f4e0f0ca17bb1dd836a857b03c30cca (diff) | |
download | skyhanni-3569dec0ab32c357eb34cff79c200f379f3d19ce.tar.gz skyhanni-3569dec0ab32c357eb34cff79c200f379f3d19ce.tar.bz2 skyhanni-3569dec0ab32c357eb34cff79c200f379f3d19ce.zip |
made path find condition not optional
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt b/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt index bd417e5f7..73915c22d 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt @@ -391,7 +391,7 @@ object IslandGraphs { color: Color = LorenzColor.WHITE.toColor(), onFound: () -> Unit = {}, allowRerouting: Boolean = false, - condition: () -> Boolean = { true }, + condition: () -> Boolean, ) { reset() currentTargetNode = this @@ -415,7 +415,7 @@ object IslandGraphs { color: Color = LorenzColor.WHITE.toColor(), onFound: () -> Unit = {}, showGoalExact: Boolean = false, - condition: () -> Boolean = { true }, + condition: () -> Boolean, ) { reset() shouldAllowRerouting = false @@ -428,7 +428,7 @@ object IslandGraphs { color: Color = LorenzColor.WHITE.toColor(), onFound: () -> Unit = {}, showGoalExact: Boolean = false, - condition: () -> Boolean = { true }, + condition: () -> Boolean, ) { currentTarget = location this.label = label |