mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-08 17:07:38 +00:00
Fixes #30
This commit is contained in:
parent
1503ba94a4
commit
c6ce0c773f
@ -530,7 +530,13 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
|
||||
this.extent = nullExtent;
|
||||
bypassAll = nullExtent;
|
||||
dequeue();
|
||||
queue.clear();
|
||||
if (!queue.isEmpty()) {
|
||||
if (Fawe.isMainThread()) {
|
||||
queue.clear();
|
||||
} else {
|
||||
SetQueue.IMP.addTask(() -> queue.clear());
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user