geforkt von Mirrors/FastAsyncWorldEdit
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