Fix additional use of backgroundExecutor in dynamic resources
This commit is contained in:
parent
ee8eb02e6d
commit
fdbf8d621e
|
|
@ -279,7 +279,7 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
|
|||
ModernFix.LOGGER.error("Error reading model {}: {}", fileLocation, e);
|
||||
return Pair.of(fileLocation, null);
|
||||
}
|
||||
}, Util.backgroundExecutor()));
|
||||
}, ModernFix.resourceReloadExecutor()));
|
||||
}
|
||||
modelFiles.clear();
|
||||
CompletableFuture.allOf(modelBytes.toArray(new CompletableFuture[0])).join();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user