Fixed /game stop trapping players in dead world.

This commit is contained in:
Chiss 2014-04-08 12:08:59 +10:00
parent bb3f2c6281
commit 2eaaa85e04

View File

@ -22,9 +22,7 @@ public class StopCommand extends CommandBase<ArcadeManager>
return;
HandlerList.unregisterAll(Plugin.GetGame());
Plugin.GetGame().SetState(GameState.Dead);
Plugin.GetGame().WorldData.Uninitialize();
Plugin.SetGame(null);
Plugin.GetGame().SetState(GameState.End);
caller.sendMessage("Stopped Game!");
}