mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 12:46:04 +01:00
Fix /npc collidable, don't add a navigation listener for the player
This commit is contained in:
parent
e4a03b896d
commit
c557bbfeed
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user