Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NPCs teleporting but not spawning when using /npc tphere from a long distance #2074
When teleporting a NPC from a location far away using /npc tphere, the NPC won't be visible until I disconnect and reconnect to the server, or reload the plugin. If I teleport to the npc using /npc tp while he isn't visible, it teleports me to his new correct location, the one after i did /npc tphere. So coords are updated but the npc does not get loaded.
The output of command
Confirmed and replicated.
Running on Spigot instead of Paper,
Tested as described - create NPC, went far enough away that it despawned, then used
Debug logs for later reference:
I have an issue, that may be related to this in a way, which is, that the yaw of the player is ignored when running
This wasn't the case with the version prior to the current release (2.0.26) and even manually editing the yaw and pitch in the save.yml (while the server is offline of course) also seems to have no effect on this.