Configuration File now adds missing entries thanks to how JSON works and how default values work.
This commit is contained in:
parent
feea5700ac
commit
b7f0112acd
3 changed files with 30 additions and 27 deletions
|
|
@ -206,7 +206,7 @@ namespace TShockAPI
|
|||
public override void DeInitialize()
|
||||
{
|
||||
Bans.SaveBans();
|
||||
|
||||
ConfigurationManager.WriteJsonConfiguration();
|
||||
GameHooks.PostInitialize -= OnPostInit;
|
||||
GameHooks.Update -= OnUpdate;
|
||||
ServerHooks.Chat -= OnChat;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue