geforkt von Mirrors/FastAsyncWorldEdit
Limit shouldn't ever be null.
Dieser Commit ist enthalten in:
Ursprung
7d60053aaf
Commit
c9aa6816df
@ -29,6 +29,7 @@ import com.sk89q.worldedit.world.World;
|
|||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public class EditSessionBuilder {
|
public class EditSessionBuilder {
|
||||||
private World world;
|
private World world;
|
||||||
@ -446,7 +447,11 @@ public class EditSessionBuilder {
|
|||||||
return bypassAll;
|
return bypassAll;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
public FaweLimit getLimit() {
|
public FaweLimit getLimit() {
|
||||||
|
if (limit == null) {
|
||||||
|
return FaweLimit.MAX;
|
||||||
|
}
|
||||||
return limit;
|
return limit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren