editing /game set for test servers.

This commit is contained in:
Sarah 2015-08-29 01:01:05 +02:00
parent cdc92f8b2f
commit 3be6483ed3
1 changed files with 5 additions and 0 deletions

View File

@ -89,6 +89,11 @@ public class SetCommand extends CommandBase<ArcadeManager>
GameType type = matches.get(0);
Plugin.GetGame().setGame(type, caller, true);
if(Plugin.getPlugin().getConfig().getString("serverstatus.group").equalsIgnoreCase("Testing"))
{
Plugin.GetGameList().clear();
Plugin.GetGameList().add(type);
}
}
@Override