Configuration File now adds missing entries thanks to how JSON works and how default values work.

This commit is contained in:
Shank 2011-06-12 03:12:59 -06:00
parent feea5700ac
commit b7f0112acd
3 changed files with 30 additions and 27 deletions

View file

@ -206,7 +206,7 @@ namespace TShockAPI
public override void DeInitialize()
{
Bans.SaveBans();
ConfigurationManager.WriteJsonConfiguration();
GameHooks.PostInitialize -= OnPostInit;
GameHooks.Update -= OnUpdate;
ServerHooks.Chat -= OnChat;