mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-03 14:02:01 +01:00
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")) {
|
||||
defaultParams.range((float) root.getDouble("pathfindingrange"));
|
||||
}
|
||||
if (root.keyExists("usenewpathfinder")) {
|
||||
defaultParams.useNewPathfinder(root.getBoolean("usenewpathfinder"));
|
||||
}
|
||||
if (root.keyExists("stationaryticks")) {
|
||||
defaultParams.stationaryTicks(root.getInt("stationaryticks"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user