Use the correct executor for this

This commit is contained in:
Sollace 2018-08-06 20:28:38 +02:00
parent 6995776e72
commit 487ec1101a

View file

@ -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