Page 1 of 1

[1.1.104] Crash when teleporting beyond edge of map

Posted: Wed Jan 31, 2024 10:32 am
by nnotm
In version 1.1.104, when starting a new game and running `/c game.player.teleport({1048500, 0})`, the game crashes saying

Code: Select all

Trying to make chunk at unreasonable position [32768, -3]
The game should instead say "Cannot execute command. Error: Invalid position" - just like when you try to teleport to `{1049000, 0}` or beyond.

Re: [1.1.104] Crash when teleporting beyond edge of map

Posted: Wed Jan 31, 2024 11:01 am
by boskid
Thanks for the report. In order for this crash to not happen please do not teleport yourself intentionally close to the playable area edge.

Re: [1.1.104] Crash when teleporting beyond edge of map

Posted: Wed Jan 31, 2024 11:16 am
by nnotm
I will keep that in mind