API: teleport
When the player is telepport in a entity position, the locked position cannot move.
Log file no error record
[0.17.18]API: teleport exception
Re: [0.17.18]API: teleport exception
Yes, API allows you to do things that might not be percieved as desirable by a player; it is your job to handle undesirable behavior if that is not what you intended to happen.
Re: [0.17.18]API: teleport exception
You are need to find non colliding position before
Code: Select all
new_position = surface.find_non_colliding_position('player', position, 128, 2)
Re: [0.17.18]API: teleport exception
well thank you!