Fixed json config file changes made while server is running lost if reload is not performed before restart
Fixed unban not saving to file until server shutdown
This commit is contained in:
parent
bc18550a3f
commit
07d607a9b6
3 changed files with 5 additions and 9 deletions
|
|
@ -74,6 +74,7 @@ namespace TShockAPI
|
|||
public void RemoveBan(Ban ban)
|
||||
{
|
||||
Bans.Remove(ban);
|
||||
SaveBans();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue