mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-02 00:37:59 +01:00
Use the correct executor for this
This commit is contained in:
parent
29c5f32f0d
commit
b496529ed8
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class PreviewTextureManager {
|
||||||
public CompletableFuture<PreviewTexture> getPreviewTexture(ResourceLocation location, MinecraftProfileTexture.Type type, ResourceLocation def, @Nullable SkinAvailableCallback callback) {
|
public CompletableFuture<PreviewTexture> getPreviewTexture(ResourceLocation location, MinecraftProfileTexture.Type type, ResourceLocation def, @Nullable SkinAvailableCallback callback) {
|
||||||
return CallableFutures.asyncFailableFuture(() ->
|
return CallableFutures.asyncFailableFuture(() ->
|
||||||
loadPreviewTexture(location, type, def, callback)
|
loadPreviewTexture(location, type, def, callback)
|
||||||
, HDSkinManager.skinUploadExecutor);
|
, HDSkinManager.skinDownloadExecutor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
Loading…
Reference in a new issue