Skip to content

Commit

Permalink
Properly order longitude and latitude on information section
Browse files Browse the repository at this point in the history
  • Loading branch information
SmylerMC committed Jun 6, 2020
1 parent 0ce931d commit 06ecee1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/fr/thesmyler/terramap/gui/GuiTiledMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ private void drawInformation(int mouseX, int mouseY, float partialTicks) {
} else {
String dispLo = GeoServices.formatGeoCoordForDisplay(playerLon);
String dispLa = GeoServices.formatGeoCoordForDisplay(playerLat);
lines.add(I18n.format("terramap.mapgui.information.playergeo", dispLo, dispLa));
lines.add(I18n.format("terramap.mapgui.information.playergeo", dispLa, dispLo));
}
} else {
double followedLon = this.followedPOI.getLongitude();
Expand All @@ -327,7 +327,7 @@ private void drawInformation(int mouseX, int mouseY, float partialTicks) {
} else {
String dispLo = GeoServices.formatGeoCoordForDisplay(followedLon);
String dispLa = GeoServices.formatGeoCoordForDisplay(followedLat);
lines.add(I18n.format("terramap.mapgui.information.followedgeo", this.followedPOI.getDisplayName(), dispLo, dispLa));
lines.add(I18n.format("terramap.mapgui.information.followedgeo", this.followedPOI.getDisplayName(), dispLa, dispLo));
}
}
}
Expand All @@ -338,7 +338,7 @@ private void drawInformation(int mouseX, int mouseY, float partialTicks) {
if(this.debug) {
String mapLa = GeoServices.formatGeoCoordForDisplay(this.focusLatitude);
String mapLo = GeoServices.formatGeoCoordForDisplay(this.focusLongitude);
lines.add("Map location: " + mapLo + " " + mapLa); //Not translated, that's debug
lines.add("Map location: " + mapLa + " " + mapLo); //Not translated, that's debug
lines.add("Cache queue: " + TerramapMod.cacheManager.getQueueSize());
lines.add("Loaded tiles: " + this.map.getLoadedCount() + "/" + this.map.getMaxLoad());
int playerPOICount = this.playerPOIs.size();
Expand Down

0 comments on commit 06ecee1

Please sign in to comment.