geforkt von Mirrors/FastAsyncWorldEdit
Update SingleThreadQueueExtent.java
Dieser Commit ist enthalten in:
Ursprung
6e1cb4cfbc
Commit
110347214e
@ -156,7 +156,12 @@ public class SingleThreadQueueExtent extends ExtentBatchProcessorHolder implemen
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Fawe.isMainThread()) {
|
if (Fawe.isMainThread()) {
|
||||||
return (V) chunk.call();
|
V result = (V)chunk.call();
|
||||||
|
if (result == null){
|
||||||
|
return (V) (Future) Futures.immediateFuture(null);
|
||||||
|
}else{
|
||||||
|
return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (V) Fawe.get().getQueueHandler().submit(chunk);
|
return (V) Fawe.get().getQueueHandler().submit(chunk);
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren