mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-28 23:27:40 +02:00
Add extra look call to /npc moveto
This commit is contained in:
parent
1c9991cf0b
commit
068b85a647
@ -985,6 +985,7 @@ public class NPCCommands {
|
||||
}
|
||||
|
||||
npc.teleport(to, TeleportCause.COMMAND);
|
||||
NMS.look(npc.getEntity(), to.getYaw(), to.getPitch());
|
||||
Messaging.sendTr(sender, Messages.MOVETO_TELEPORTED, npc.getName(), to);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user