Skip to content

Commit da2eedb

Browse files
committed
Clean move finder cache
1 parent 699ed38 commit da2eedb

File tree

1 file changed

+2
-0
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/movement

1 file changed

+2
-0
lines changed

common/src/main/kotlin/com/lambda/module/modules/movement/Pathfinder.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import com.lambda.pathing.PathingSettings
3939
import com.lambda.pathing.dstar.DStarLite
4040
import com.lambda.pathing.dstar.LazyGraph
4141
import com.lambda.pathing.goal.SimpleGoal
42+
import com.lambda.pathing.move.MoveFinder
4243
import com.lambda.pathing.move.MoveFinder.moveOptions
4344
import com.lambda.pathing.move.NodeType
4445
import com.lambda.pathing.move.TraverseMove
@@ -112,6 +113,7 @@ object Pathfinder : Module(
112113
}
113114

114115
onDisable {
116+
MoveFinder.clean()
115117
graph.clear()
116118
}
117119

0 commit comments

Comments
 (0)