Browse Source

Unittest: colored own location Wueste

remotes/origin/map
Tanja Herche 2 years ago
parent
commit
72c2643899
  1. 2
      src/main/java/org/bitbiome/commands/MapCommand.java
  2. 2
      src/test/java/org/bitbiome/commands/MapCommandTest.java

2
src/main/java/org/bitbiome/commands/MapCommand.java

@ -69,7 +69,7 @@ public class MapCommand implements CommandAPI{
.append(" __________________________________________________________________________________________________\n") .append(" __________________________________________________________________________________________________\n")
.append("| | | |\n") .append("| | | |\n")
.append("| | | |\n") .append("| | | |\n")
.append("| " + Colors.ANSI_BRIGHT_BLACK + locations.getJSONObject(5).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + locations.getJSONObject(4).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_BRIGHT_BLACK + locations.getJSONObject(2).getString("name") + Colors.ANSI_RESET + " |" + "\n")
.append("| " + Colors.ANSI_GREEN + locations.getJSONObject(5).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + locations.getJSONObject(4).getString("name") + Colors.ANSI_RESET + " | " + Colors.ANSI_BRIGHT_BLACK + locations.getJSONObject(2).getString("name") + Colors.ANSI_RESET + " |" + "\n")
.append("| | | |\n") .append("| | | |\n")
.append("|________________________________|________________________________|________________________________|\n") .append("|________________________________|________________________________|________________________________|\n")
.append("| | | |\n") .append("| | | |\n")

2
src/test/java/org/bitbiome/commands/MapCommandTest.java

@ -104,7 +104,7 @@ public class MapCommandTest {
.append(" __________________________________________________________________________________________________\n") .append(" __________________________________________________________________________________________________\n")
.append("| | | |\n") .append("| | | |\n")
.append("| | | |\n") .append("| | | |\n")
.append("| " + Colors.ANSI_BRIGHT_BLACK + "Wueste" + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + "Gruenland" + Colors.ANSI_RESET + " | " + Colors.ANSI_BRIGHT_BLACK + "Winterland" + Colors.ANSI_RESET + " |" + "\n")
.append("| " + Colors.ANSI_GREEN + "Wueste" + Colors.ANSI_RESET + " | " + Colors.ANSI_BLUE + "Gruenland" + Colors.ANSI_RESET + " | " + Colors.ANSI_BRIGHT_BLACK + "Winterland" + Colors.ANSI_RESET + " |" + "\n")
.append("| | | |\n") .append("| | | |\n")
.append("|________________________________|________________________________|________________________________|\n") .append("|________________________________|________________________________|________________________________|\n")
.append("| | | |\n") .append("| | | |\n")

Loading…
Cancel
Save