Minor spring clean

This commit is contained in:
dordsor21
2021-09-19 21:40:15 +01:00
parent 8a4f28a7cc
commit aba147f787
3 changed files with 9 additions and 10 deletions

View File

@ -350,7 +350,7 @@ public final class EditSessionBuilder {
*/
@Deprecated(forRemoval = true)
public EditSessionBuilder autoQueue(@Nullable Boolean autoQueue) {
return setDirty();
return this;
}
/**
@ -473,6 +473,8 @@ public final class EditSessionBuilder {
} else {
changeSet = new DiskStorageHistory(world, uuid);
}
// } else if (combineStages && Settings.IMP.HISTORY.COMPRESSION_LEVEL == 0) {
// changeSet = new CPUOptimizedChangeSet(world);
} else {
if (combineStages && Settings.IMP.HISTORY.COMPRESSION_LEVEL == 0) {
//TODO add CPUOptimizedChangeSet
@ -496,6 +498,9 @@ public final class EditSessionBuilder {
this.extent = extent.enableHistory(changeSet);
} else {
this.extent = new HistoryExtent(extent, changeSet);
// if (this.blockBag != null) {
// this.extent = new BlockBagExtent(this.extent, blockBag, limit.INVENTORY_MODE == 1);
// }
}
}
}