Reverted the silly on leave hook change
This commit is contained in:
parent
d186b1301c
commit
3de8889688
1 changed files with 1 additions and 1 deletions
|
|
@ -1282,7 +1282,7 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
|
|
||||||
// The last player will leave after this hook is executed.
|
// The last player will leave after this hook is executed.
|
||||||
if (Utils.ActivePlayers() == 0)
|
if (Utils.ActivePlayers() == 1)
|
||||||
{
|
{
|
||||||
if (Config.SaveWorldOnLastPlayerExit)
|
if (Config.SaveWorldOnLastPlayerExit)
|
||||||
SaveManager.Instance.SaveWorld();
|
SaveManager.Instance.SaveWorld();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue