mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-26 10:11:27 +01:00
Fix some more checkstyle issues.
This commit is contained in:
parent
8ffd716190
commit
089655fada
@ -101,13 +101,13 @@ public class CreateCommand extends MultiverseCommand {
|
|||||||
.worldType(parsedFlags.flagValue("--world-type", WorldType.NORMAL, WorldType.class))
|
.worldType(parsedFlags.flagValue("--world-type", WorldType.NORMAL, WorldType.class))
|
||||||
.useSpawnAdjust(!parsedFlags.hasFlag("--no-adjust-spawn"))
|
.useSpawnAdjust(!parsedFlags.hasFlag("--no-adjust-spawn"))
|
||||||
.generator(parsedFlags.flagValue("--generator", "", String.class))
|
.generator(parsedFlags.flagValue("--generator", "", String.class))
|
||||||
.generateStructures(!parsedFlags.hasFlag("--no-structures"))
|
.generateStructures(!parsedFlags.hasFlag("--no-structures")))
|
||||||
).onSuccess(newWorld -> {
|
.onSuccess(newWorld -> {
|
||||||
Logging.fine("World create success: " + newWorld);
|
Logging.fine("World create success: " + newWorld);
|
||||||
issuer.sendInfo(MVCorei18n.CREATE_SUCCESS, "{world}", newWorld.getName());
|
issuer.sendInfo(MVCorei18n.CREATE_SUCCESS, "{world}", newWorld.getName());
|
||||||
}).onFailure(failure -> {
|
}).onFailure(failure -> {
|
||||||
Logging.fine("World create failure: " + failure);
|
Logging.fine("World create failure: " + failure);
|
||||||
issuer.sendError(failure.getFailureMessage());
|
issuer.sendError(failure.getFailureMessage());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user