Fixed exception in commands crashing the server

Removed Tools.WriteError using Log.Error instead.
This commit is contained in:
ricky 2011-06-15 20:54:32 +10:00
parent 8d13023dac
commit 1ea6d2e955
5 changed files with 31 additions and 34 deletions

View file

@ -60,7 +60,7 @@ namespace TShockAPI
}
catch (Exception e)
{
FileTools.WriteError(e.Message);
Log.Error(e.ToString());
}
return false;
}