13
0
geforkt von Mirrors/Velocity

Fix logic error

Dieser Commit ist enthalten in:
Five (Xer) 2020-06-07 00:33:06 +02:00
Ursprung ef5b9cf183
Commit 3ed5e7718c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: A3F306B10E6330E7

Datei anzeigen

@ -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;