Skip to content

Commit

Permalink
Add SkinLoaded#load
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Sep 27, 2023
1 parent dad8a95 commit 3fcf5c4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ public Supplier<ProvidedSkins> get(GameProfile profile) {
}

public ProvidedSkins getNow(GameProfile profile) {
return cache.getUnchecked(profile).getNow(ProvidedSkins.EMPTY);
return load(profile).getNow(ProvidedSkins.EMPTY);
}

public CompletableFuture<ProvidedSkins> load(GameProfile profile) {
return cache.getUnchecked(profile);
}

private Map<SkinType, MinecraftProfileTexture> loadProfileTextures(GameProfile profile) {
Expand Down

0 comments on commit 3fcf5c4

Please sign in to comment.