Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
Fully fix #949
Dieser Commit ist enthalten in:
Ursprung
4e463af1df
Commit
29bebcd034
@ -623,15 +623,17 @@ public class LocalSession implements TextureHolder {
|
||||
setDirty();
|
||||
historyNegativeIndex--;
|
||||
ChangeSet changeSet = getChangeSet(history.get(getHistoryIndex()));
|
||||
try (EditSession newEditSession = new EditSessionBuilder(world)
|
||||
.allowedRegionsEverywhere()
|
||||
EditSessionBuilder builder = new EditSessionBuilder(world)
|
||||
.checkMemory(false)
|
||||
.changeSetNull()
|
||||
.fastmode(false)
|
||||
.limitUnprocessed((Player) actor)
|
||||
.player((Player) actor)
|
||||
.blockBag(getBlockBag((Player) actor))
|
||||
.build()) {
|
||||
.blockBag(getBlockBag((Player) actor));
|
||||
if (!actor.getLimit().RESTRICT_HISTORY_TO_REGIONS) {
|
||||
builder.allowedRegionsEverywhere();
|
||||
}
|
||||
try (EditSession newEditSession = builder.build()) {
|
||||
newEditSession.setBlocks(changeSet, ChangeSetExecutor.Type.REDO);
|
||||
return newEditSession;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren