Browse Source

Integrated Locations

remotes/origin/map
Tanja Herche 2 years ago
parent
commit
d4c2fb9496
  1. 5
      src/main/java/org/bitbiome/commands/MapCommand.java

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

@ -13,8 +13,9 @@ public class MapCommand implements CommandAPI{
JSONArray locations = travelEngine.getLocationList(); JSONArray locations = travelEngine.getLocationList();
outputMessage outputMessage
.append("Map:\n") .append("Map:\n")
.append("Wueste Gruenland Winterland\n\n")
.append("Strand Wald Berge\n\n");
.append(locations.getJSONObject(5).getString("name") + " " + locations.getJSONObject(4).getString("name") + " " + locations.getJSONObject(2).getString("name") + "\n\n")
.append(locations.getJSONObject(1).getString("name") + " " + locations.getJSONObject(0).getString("name") + " " + locations.getJSONObject(3).getString("name") + "\n\n");
return outputMessage.toString(); return outputMessage.toString();
} }

Loading…
Cancel
Save