3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Fix superpickaxe item dropping

Fixes #1079
Dieser Commit ist enthalten in:
dordsor21 2021-06-18 23:48:23 +01:00
Ursprung 7af06a533b
Commit a0e84d7a44
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -584,9 +584,9 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
ExtentTraverser<SurvivalModeExtent> survivalExtent = new ExtentTraverser<>(getExtent()).find(SurvivalModeExtent.class);
if (survivalExtent != null) {
return survivalExtent.get();
} else {
SurvivalModeExtent survival = new SurvivalModeExtent(bypassAll, getWorld());
bypassAll = survival;
} 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(getExtent(), getWorld());
setExtent(survival);
return survival;
}
}