Make "/fr purge" clear the auto-unfreeze task timer.

With credit to Wild for bringing it up on his fork, but he did it wrong :P
This commit is contained in:
StevenLawson 2013-07-29 13:37:31 -04:00
parent fe93d1ce07
commit 3f61e05609

View File

@ -57,6 +57,10 @@ public class Command_fr extends TFM_Command
if (args[0].toLowerCase().equals("purge"))
{
TotalFreedomMod.allPlayersFrozen = false;
if (TotalFreedomMod.freezePurgeTask != null)
{
TotalFreedomMod.freezePurgeTask.cancel();
}
for (Player p : server.getOnlinePlayers())
{