editing /game set for test servers.
This commit is contained in:
parent
cdc92f8b2f
commit
3be6483ed3
@ -89,6 +89,11 @@ public class SetCommand extends CommandBase<ArcadeManager>
|
|||||||
|
|
||||||
GameType type = matches.get(0);
|
GameType type = matches.get(0);
|
||||||
Plugin.GetGame().setGame(type, caller, true);
|
Plugin.GetGame().setGame(type, caller, true);
|
||||||
|
if(Plugin.getPlugin().getConfig().getString("serverstatus.group").equalsIgnoreCase("Testing"))
|
||||||
|
{
|
||||||
|
Plugin.GetGameList().clear();
|
||||||
|
Plugin.GetGameList().add(type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user