mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Remove debugging code
This commit is contained in:
parent
f9def3fe6a
commit
44e988b7d7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user