Use new pathfinder should be loaded

This commit is contained in:
fullwall 2024-02-10 23:58:04 +08:00
parent f9c4dbe614
commit d557be5f35
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ public class CitizensNavigator implements Navigator, Runnable {
if (root.keyExists("pathfindingrange")) {
defaultParams.range((float) root.getDouble("pathfindingrange"));
}
if (root.keyExists("usenewpathfinder")) {
defaultParams.useNewPathfinder(root.getBoolean("usenewpathfinder"));
}
if (root.keyExists("stationaryticks")) {
defaultParams.stationaryTicks(root.getInt("stationaryticks"));
}