Hi i checked the problem.
HOOK_PLAYER_SPAWED is after spawn and if exist an active bed in other world, then player was teleport to this world.
When i set the players position, i set it on the other world... damn![Big Grin Big Grin](https://forum.cuberite.org/images/smilies/biggrin.png)
Can i deactivate the spawn logic from core?
[Edit]
Ah Stop, if i save the players world at the start from plugin (myworld = Player:GetWorld)
and check at the end of the code myworld == Player:GetWorld then i become false.
Is my code to slow?
HOOK_PLAYER_SPAWED is after spawn and if exist an active bed in other world, then player was teleport to this world.
When i set the players position, i set it on the other world... damn
![Big Grin Big Grin](https://forum.cuberite.org/images/smilies/biggrin.png)
Can i deactivate the spawn logic from core?
[Edit]
Ah Stop, if i save the players world at the start from plugin (myworld = Player:GetWorld)
and check at the end of the code myworld == Player:GetWorld then i become false.
Is my code to slow?
![Confused Confused](https://forum.cuberite.org/images/smilies/confused.png)