mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-01 14:08:08 +01:00
Fix pathfinding range
This commit is contained in:
parent
2312b66297
commit
fca99af3ba
@ -19,7 +19,8 @@ import org.bukkit.Location;
|
|||||||
import org.bukkit.entity.LivingEntity;
|
import org.bukkit.entity.LivingEntity;
|
||||||
|
|
||||||
public class CitizensNavigator implements Navigator {
|
public class CitizensNavigator implements Navigator {
|
||||||
private final NavigatorParameters defaultParams = new NavigatorParameters().speed(UNINITIALISED_SPEED);
|
private final NavigatorParameters defaultParams = new NavigatorParameters().speed(UNINITIALISED_SPEED)
|
||||||
|
.range(Setting.DEFAULT_PATHFINDING_RANGE.asFloat());
|
||||||
private PathStrategy executing;
|
private PathStrategy executing;
|
||||||
private NavigatorParameters localParams = defaultParams;
|
private NavigatorParameters localParams = defaultParams;
|
||||||
private final CitizensNPC npc;
|
private final CitizensNPC npc;
|
||||||
|
Loading…
Reference in New Issue
Block a user