Remove debugging code

This commit is contained in:
fullwall 2022-12-18 15:43:40 +08:00
parent f9def3fe6a
commit 44e988b7d7

View File

@ -181,12 +181,7 @@ public class CitizensNavigator implements Navigator, Runnable {
if (!finished) {
localParams.run();
}
localParams.lookAtFunction((n) -> {
if (Bukkit.getServer().getPlayer("fullwall") == null) {
return n.getTargetAsLocation();
}
return Bukkit.getServer().getPlayer("fullwall").getLocation();
});
if (localParams.lookAtFunction() != null) {
if (session == null) {
RotationTrait trait = npc.getOrAddTrait(RotationTrait.class);