From 3569dec0ab32c357eb34cff79c200f379f3d19ce Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 29 Sep 2024 11:14:10 +0200 Subject: made path find condition not optional --- src/main/java/at/hannibal2/skyhanni/data/IslandGraphs.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data') 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 -- cgit