TerrariaAPI-Server
TerrariaAPI-Server copied to clipboard
Allow headless servers
Currently if you start a server without a input stream/the input stream EOFs (/dev/null for example), the server will create a .crash file which leads to an "unsaveable" world.
This is because there's no null check on text here.
Sorry there's no PR attached, but it was already pretty messy to get a build system and to get to the cause of that crash.