Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-02 17:40:09 +01:00
allowed regions can be null
Dieser Commit ist enthalten in:
Ursprung
febf5b0175
Commit
846443291f
@ -457,6 +457,7 @@ public class EditSessionBuilder {
|
|||||||
return wnaMode;
|
return wnaMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
public Region[] getAllowedRegions() {
|
public Region[] getAllowedRegions() {
|
||||||
return allowedRegions;
|
return allowedRegions;
|
||||||
}
|
}
|
||||||
|
@ -265,7 +265,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
this.blockBag = builder.getBlockBag();
|
this.blockBag = builder.getBlockBag();
|
||||||
this.history = changeSet != null;
|
this.history = changeSet != null;
|
||||||
this.wnaMode = builder.isWNAMode();
|
this.wnaMode = builder.isWNAMode();
|
||||||
this.allowedRegions = builder.getAllowedRegions().clone();
|
this.allowedRegions = builder.getAllowedRegions() != null ? builder.getAllowedRegions().clone() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren