
/sga:admin add constallation can soft brick world
BeeFox-sys opened this issue ยท 2 comments
Steps to replicated:
- Create new world
- run command
/sga:admin add constellation 1 2 3 4 5
- save and exit
- reopen world
This causes an array out of bounds error when joining the world.
I believe this is because there is no protection when loading an invalid constelation. the constellation in the saved constellation file is
2 3 4 5 |
there should probably be a check to make sure a line is valid before attempting to load the constellation