mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-23 00:21:31 +01: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