Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
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()) {
|
||||
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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren