Offline Player on horse #22
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When player logout on horse and somebody changing him inventory, the horse will be disappear.
Had a look into this, my suspicion is that the chunk the player is in is unloaded. Haven't tested yet, but we may be able to fix it by keeping the chunks players are in loaded rather than rewriting the entire save process to use NMS.
When a player logs in, their mount is read out of the NBT tag. If it exists, it's spawned and the player is set riding it. When we go to save, the entity does not exist any more.