mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
Forgot to flush undo/redo
This commit is contained in:
parent
8168c08ab6
commit
861ebad1ea
@ -1225,6 +1225,7 @@ public class EditSession extends AbstractWorld implements HasFaweQueue, Lighting
|
||||
ChangeSet changeSet = getChangeSet();
|
||||
editSession.getQueue().setChangeTask(null);
|
||||
Operations.completeBlindly(ChangeSetExecutor.create(changeSet, context, ChangeSetExecutor.Type.UNDO, editSession.getBlockBag(), editSession.getLimit().INVENTORY_MODE));
|
||||
flushQueue();
|
||||
editSession.changes = 1;
|
||||
}
|
||||
|
||||
@ -1239,6 +1240,7 @@ public class EditSession extends AbstractWorld implements HasFaweQueue, Lighting
|
||||
ChangeSet changeSet = getChangeSet();
|
||||
editSession.getQueue().setChangeTask(null);
|
||||
Operations.completeBlindly(ChangeSetExecutor.create(changeSet, context, ChangeSetExecutor.Type.REDO, editSession.getBlockBag(), editSession.getLimit().INVENTORY_MODE));
|
||||
flushQueue();
|
||||
editSession.changes = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user