diff --git a/lib/CitizensAPI.jar b/lib/CitizensAPI.jar index 85ffa129b..373bb40db 100644 Binary files a/lib/CitizensAPI.jar and b/lib/CitizensAPI.jar differ diff --git a/src/net/citizensnpcs/command/command/NPCCommands.java b/src/net/citizensnpcs/command/command/NPCCommands.java index 9f0cd8592..684bd7cec 100644 --- a/src/net/citizensnpcs/command/command/NPCCommands.java +++ b/src/net/citizensnpcs/command/command/NPCCommands.java @@ -234,6 +234,7 @@ public class NPCCommands { if (!npc.isSpawned()) npc.spawn(npc.getTrait(SpawnLocation.class).getLocation()); npc.getBukkitEntity().teleport(player, TeleportCause.COMMAND); + npc.getTrait(SpawnLocation.class).setLocation(npc.getBukkitEntity().getLocation()); Messaging.send(player, StringHelper.wrap(npc.getName()) + " was teleported to your location."); }