mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-24 19:46:34 +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 bypassHistory;
|
||||
private final Extent bypassNone;
|
||||
private SurvivalModeExtent lazySurvivalExtent;
|
||||
private boolean fastmode;
|
||||
private Mask oldMask;
|
||||
private FaweLimit limit = FaweLimit.MAX;
|
||||
@ -478,7 +479,10 @@ public class EditSession implements Extent {
|
||||
* @return the survival simulation extent
|
||||
*/
|
||||
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