Apply basic checkstyle fixes to MVWorld.

This commit is contained in:
Jeremy Wood 2023-09-08 08:58:43 -04:00
parent 1ca6b20755
commit 7726cf3485
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B
1 changed files with 7 additions and 8 deletions

View File

@ -31,8 +31,7 @@ public class MVWorld extends OfflineWorld {
@NotNull WorldConfig worldConfig,
@NotNull BlockSafety blockSafety,
@NotNull SafeTTeleporter safeTTeleporter,
@NotNull LocationManipulation locationManipulation
) {
@NotNull LocationManipulation locationManipulation) {
super(world.getName(), worldConfig);
this.worldUid = world.getUID();
this.blockSafety = blockSafety;
@ -118,11 +117,11 @@ public class MVWorld extends OfflineWorld {
@Override
public String toString() {
return "MVWorld{" +
"name='" + worldName + "', " +
"env='" + getEnvironment() + "', " +
"type='" + getWorldType().getOrNull() + "', " +
"gen='" + getGenerator() + "'" +
'}';
return "MVWorld{"
+ "name='" + worldName + "', "
+ "env='" + getEnvironment() + "', "
+ "type='" + getWorldType().getOrNull() + "', "
+ "gen='" + getGenerator() + "'"
+ '}';
}
}