Reverted the silly on leave hook change

This commit is contained in:
Tyler Watson 2015-09-18 22:05:11 +10:00
parent d186b1301c
commit 3de8889688

View file

@ -1282,7 +1282,7 @@ namespace TShockAPI
}
// The last player will leave after this hook is executed.
if (Utils.ActivePlayers() == 0)
if (Utils.ActivePlayers() == 1)
{
if (Config.SaveWorldOnLastPlayerExit)
SaveManager.Instance.SaveWorld();