Use the correct executor for this

This commit is contained in:
Sollace 2018-08-06 20:28:38 +02:00
parent 29c5f32f0d
commit b496529ed8

View file

@ -31,7 +31,7 @@ public class PreviewTextureManager {
public CompletableFuture<PreviewTexture> getPreviewTexture(ResourceLocation location, MinecraftProfileTexture.Type type, ResourceLocation def, @Nullable SkinAvailableCallback callback) {
return CallableFutures.asyncFailableFuture(() ->
loadPreviewTexture(location, type, def, callback)
, HDSkinManager.skinUploadExecutor);
, HDSkinManager.skinDownloadExecutor);
}
@Nullable