mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-27 13:15:33 +01:00
Remove console pathfinding debug
This commit is contained in:
parent
9c5e5394e3
commit
ff42e35649
@ -18,7 +18,6 @@ import net.citizensnpcs.api.ai.event.NavigatorCallback;
|
||||
import net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer;
|
||||
import net.citizensnpcs.api.npc.NPC;
|
||||
import net.citizensnpcs.api.util.DataKey;
|
||||
import net.citizensnpcs.api.util.Messaging;
|
||||
import net.citizensnpcs.util.NMS;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
@ -211,8 +210,6 @@ public class CitizensNavigator implements Navigator, Runnable {
|
||||
itr.next().onCompletion(reason);
|
||||
itr.remove();
|
||||
}
|
||||
if (Messaging.isDebugging())
|
||||
Messaging.debug(npc.getId(), "cancelling with reason", reason);
|
||||
if (reason == null) {
|
||||
stopNavigating();
|
||||
return;
|
||||
@ -239,7 +236,6 @@ public class CitizensNavigator implements Navigator, Runnable {
|
||||
}
|
||||
|
||||
private void switchStrategyTo(PathStrategy newStrategy) {
|
||||
Messaging.debug(npc.getId(), "changing to new PathStrategy", newStrategy);
|
||||
if (executing != null) {
|
||||
Bukkit.getPluginManager().callEvent(new NavigationReplaceEvent(this));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user