Fix pathfinding range

This commit is contained in:
fullwall 2012-08-27 23:17:47 +08:00
parent 2312b66297
commit fca99af3ba

View File

@ -19,7 +19,8 @@ import org.bukkit.Location;
import org.bukkit.entity.LivingEntity;
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 NavigatorParameters localParams = defaultParams;
private final CitizensNPC npc;