Use new pathfinder should be loaded
This commit is contained in:
parent
f9c4dbe614
commit
d557be5f35
|
@ -154,6 +154,9 @@ public class CitizensNavigator implements Navigator, Runnable {
|
||||||
if (root.keyExists("pathfindingrange")) {
|
if (root.keyExists("pathfindingrange")) {
|
||||||
defaultParams.range((float) root.getDouble("pathfindingrange"));
|
defaultParams.range((float) root.getDouble("pathfindingrange"));
|
||||||
}
|
}
|
||||||
|
if (root.keyExists("usenewpathfinder")) {
|
||||||
|
defaultParams.useNewPathfinder(root.getBoolean("usenewpathfinder"));
|
||||||
|
}
|
||||||
if (root.keyExists("stationaryticks")) {
|
if (root.keyExists("stationaryticks")) {
|
||||||
defaultParams.stationaryTicks(root.getInt("stationaryticks"));
|
defaultParams.stationaryTicks(root.getInt("stationaryticks"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue