code formatting

master
Stefan Dollase 2016-11-21 04:19:57 +01:00
parent 254e948c8d
commit f8b6a4ac2e
2 changed files with 4 additions and 2 deletions

View File

@ -305,7 +305,8 @@ public class Actions {
if (input != null) {
player.moveTo(targetCoordinates, tryParseLong(input, currentHeight), currentCoordinates.getDimension());
viewerFacade.reloadPlayerLayer();
if (mainWindow.askToConfirmYesNo("Save Player Locations", "Do you want to save the player locations?")) {
if (mainWindow
.askToConfirmYesNo("Save Player Locations", "Do you want to save the player locations?")) {
if (mainWindow.askToConfirmSaveGameManipulation()) {
viewerFacade.savePlayerLocations();
}

View File

@ -52,7 +52,8 @@ public enum WorldType {
if (result != null) {
return result;
} else {
String message = "Unable to find World Type: " + nameOrSymbolicFieldName + ". Falling back to default world type.";
String message = "Unable to find World Type: " + nameOrSymbolicFieldName
+ ". Falling back to default world type.";
AmidstLogger.error(message);
AmidstMessageBox.displayError("Error", message);
return DEFAULT;