Remove console pathfinding debug

This commit is contained in:
fullwall 2014-01-25 16:19:13 +08:00
parent 9c5e5394e3
commit ff42e35649

View File

@ -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));
}