geforkt von Mirrors/Velocity
Fix logic error
Dieser Commit ist enthalten in:
Ursprung
ef5b9cf183
Commit
3ed5e7718c
@ -21,12 +21,12 @@ public final class DimensionInfo {
|
|||||||
this.registryIdentifier = Preconditions.checkNotNull(
|
this.registryIdentifier = Preconditions.checkNotNull(
|
||||||
registryIdentifier, "registryIdentifier cannot be null");
|
registryIdentifier, "registryIdentifier cannot be null");
|
||||||
Preconditions.checkArgument(
|
Preconditions.checkArgument(
|
||||||
registryIdentifier.length() > 0 && registryIdentifier.isBlank(),
|
registryIdentifier.length() > 0 && !registryIdentifier.isBlank(),
|
||||||
"registryIdentifier cannot be empty");
|
"registryIdentifier cannot be empty");
|
||||||
this.levelName = Preconditions.checkNotNull(
|
this.levelName = Preconditions.checkNotNull(
|
||||||
levelName, "levelName cannot be null");
|
levelName, "levelName cannot be null");
|
||||||
Preconditions.checkArgument(
|
Preconditions.checkArgument(
|
||||||
levelName.length() > 0 && levelName.isBlank(),
|
levelName.length() > 0 && !levelName.isBlank(),
|
||||||
"registryIdentifier cannot be empty");
|
"registryIdentifier cannot be empty");
|
||||||
this.isFlat = isFlat;
|
this.isFlat = isFlat;
|
||||||
this.isDebugType = isDebugType;
|
this.isDebugType = isDebugType;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren