fix lowercase colorname (#2094)

This commit is contained in:
zethnest
2020-05-21 21:32:48 +08:00
committed by GitHub
parent 42ba97f872
commit 1c9ad2266d
6 changed files with 6 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ public class ServerControl implements ApplicationListener{
nextMapOverride = null;
if(map != null){
Call.onInfoMessage((state.rules.pvp
? "[YELLOW]The " + event.winner.name + " team is victorious![]" : "[SCARLET]Game over![]")
? "[yellow]The " + event.winner.name + " team is victorious![]" : "[scarlet]Game over![]")
+ "\nNext selected map:[accent] " + map.name() + "[]"
+ (map.tags.containsKey("author") && !map.tags.get("author").trim().isEmpty() ? " by[accent] " + map.author() + "[white]" : "") + "." +
"\nNew game begins in " + roundExtraTime + " seconds.");