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( @Command(
aliases = { "npc" }, aliases = { "npc" },
usage = "collidable", usage = "collidable",
desc = "Copies an NPC", desc = "Toggles an NPC's collidability",
modifiers = { "copy" }, modifiers = { "collidable" },
min = 1, min = 1,
max = 1, max = 1,
permission = "citizens.npc.collidable") permission = "citizens.npc.collidable")

View File

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