geforkt von Mirrors/FastAsyncWorldEdit
Don't ParallelQueueExtent if the editsession is created on the main thread.
Dieser Commit ist enthalten in:
Ursprung
31542ed4fa
Commit
6f0180447f
@ -64,7 +64,6 @@ public class EditSessionBuilder {
|
||||
@NotNull
|
||||
private EventBus eventBus = WorldEdit.getInstance().getEventBus();
|
||||
private BlockBag blockBag;
|
||||
private boolean threaded = true;
|
||||
private EditSessionEvent event;
|
||||
private String command;
|
||||
private RelightMode relightMode;
|
||||
@ -307,7 +306,7 @@ public class EditSessionBuilder {
|
||||
if (placeChunks) {
|
||||
if (unwrapped instanceof IQueueExtent) {
|
||||
extent = queue = (IQueueExtent) unwrapped;
|
||||
} else if (Settings.IMP.QUEUE.PARALLEL_THREADS > 1 && threaded) {
|
||||
} else if (Settings.IMP.QUEUE.PARALLEL_THREADS > 1 && !Fawe.isMainThread()) {
|
||||
ParallelQueueExtent parallel = new ParallelQueueExtent(Fawe.get().getQueueHandler(), world, fastmode);
|
||||
queue = parallel.getExtent();
|
||||
extent = parallel;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren