New team colors

This commit is contained in:
Anuken
2019-08-02 10:10:37 -04:00
parent 5acda423d8
commit 04c8ecf4af
22 changed files with 51 additions and 43 deletions

View File

@@ -295,7 +295,7 @@ public class ServerControl implements ApplicationListener{
info(" &lyPlaying on map &fi{0}&fb &lb/&ly Wave {1}", Strings.capitalize(world.getMap().name()), state.wave);
if(state.rules.waves){
info("&ly {0} enemies.", unitGroups[Team.red.ordinal()].size());
info("&ly {0} enemies.", unitGroups[Team.crux.ordinal()].size());
}else{
info("&ly {0} seconds until next wave.", (int)(state.wavetime / 60));
}
@@ -340,7 +340,7 @@ public class ServerControl implements ApplicationListener{
}
try{
Team team = arg.length == 0 ? Team.blue : Team.valueOf(arg[0]);
Team team = arg.length == 0 ? Team.sharded : Team.valueOf(arg[0]);
if(state.teams.get(team).cores.isEmpty()){
err("That team has no cores.");
@@ -627,7 +627,7 @@ public class ServerControl implements ApplicationListener{
info("&lyCore destroyed.");
inExtraRound = false;
Events.fire(new GameOverEvent(Team.red));
Events.fire(new GameOverEvent(Team.crux));
});
handler.register("info", "<IP/UUID/name...>", "Find player info(s). Can optionally check for all names or IPs a player has had.", arg -> {