Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 08:02:50 +02:00
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 javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class EditSessionBuilder {
|
||||
private World world;
|
||||
@ -446,7 +447,11 @@ public class EditSessionBuilder {
|
||||
return bypassAll;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public FaweLimit getLimit() {
|
||||
if (limit == null) {
|
||||
return FaweLimit.MAX;
|
||||
}
|
||||
return limit;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren