cheahjs / TerrariaAPI-Server

Fork is now over at https://github.com/NyxStudios/TerrariaAPI-Server
https://tshock.co
32 stars 24 forks source link

Allow headless servers #30

Open Sebmaster opened 10 years ago

Sebmaster commented 10 years ago

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.