Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-27 03:12:37 +01:00
Ursprung
7af06a533b
Commit
a0e84d7a44
@ -584,9 +584,9 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
ExtentTraverser<SurvivalModeExtent> survivalExtent = new ExtentTraverser<>(getExtent()).find(SurvivalModeExtent.class);
|
ExtentTraverser<SurvivalModeExtent> survivalExtent = new ExtentTraverser<>(getExtent()).find(SurvivalModeExtent.class);
|
||||||
if (survivalExtent != null) {
|
if (survivalExtent != null) {
|
||||||
return survivalExtent.get();
|
return survivalExtent.get();
|
||||||
} else {
|
} else { // Kind of a bad way of doing it, but equally I (dords) hate the way upstream does it by just adding ALL possible extents to an edit and only "enabling" when required
|
||||||
SurvivalModeExtent survival = new SurvivalModeExtent(bypassAll, getWorld());
|
SurvivalModeExtent survival = new SurvivalModeExtent(getExtent(), getWorld());
|
||||||
bypassAll = survival;
|
setExtent(survival);
|
||||||
return survival;
|
return survival;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren