Fixed /game stop trapping players in dead world.
This commit is contained in:
parent
bb3f2c6281
commit
2eaaa85e04
@ -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!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user