mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
allowed regions can be null
This commit is contained in:
parent
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user