mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
Fixes #28
This commit is contained in:
parent
969c800509
commit
e87f804236
@ -166,6 +166,7 @@ public class EditSession implements Extent {
|
|||||||
private final Extent bypassReorderHistory;
|
private final Extent bypassReorderHistory;
|
||||||
private final Extent bypassHistory;
|
private final Extent bypassHistory;
|
||||||
private final Extent bypassNone;
|
private final Extent bypassNone;
|
||||||
|
private SurvivalModeExtent lazySurvivalExtent;
|
||||||
private boolean fastmode;
|
private boolean fastmode;
|
||||||
private Mask oldMask;
|
private Mask oldMask;
|
||||||
private FaweLimit limit = FaweLimit.MAX;
|
private FaweLimit limit = FaweLimit.MAX;
|
||||||
@ -478,7 +479,10 @@ public class EditSession implements Extent {
|
|||||||
* @return the survival simulation extent
|
* @return the survival simulation extent
|
||||||
*/
|
*/
|
||||||
public SurvivalModeExtent getSurvivalExtent() {
|
public SurvivalModeExtent getSurvivalExtent() {
|
||||||
return null;
|
if (this.lazySurvivalExtent == null) {
|
||||||
|
this.lazySurvivalExtent = new SurvivalModeExtent(bypassReorderHistory, world);
|
||||||
|
}
|
||||||
|
return lazySurvivalExtent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user