Fix /npc collidable, don't add a navigation listener for the player

This commit is contained in:
fullwall 2016-03-20 17:38:52 +08:00
parent e4a03b896d
commit c557bbfeed
2 changed files with 2 additions and 3 deletions

View File

@ -256,8 +256,8 @@ public class NPCCommands {
@Command(
aliases = { "npc" },
usage = "collidable",
desc = "Copies an NPC",
modifiers = { "copy" },
desc = "Toggles an NPC's collidability",
modifiers = { "collidable" },
min = 1,
max = 1,
permission = "citizens.npc.collidable")

View File

@ -48,7 +48,6 @@ public class PlayerNavigation extends NavigationAbstract {
this.e = new PlayerPathfinderNormal();
this.e.a(true);
this.s = new PlayerPathfinder(this.e);
this.b.C().a(this);
}
@Override