diff --git a/gradle.properties b/gradle.properties index 82d6b4a7..d73f68a4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,6 +21,6 @@ org.gradle.daemon=false # Dependencies modmenu_version=8.0.0-beta.1 - kirin_version=1.16.0-beta.2+1.20.2 - hd_skins_version=6.11.0-beta.3+1.20.2 + kirin_version=1.16.0-beta.3+1.20.2 + hd_skins_version=6.11.0-beta.4+1.20.2 mson_version=1.9.0-beta.1 diff --git a/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java b/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java index 0c76ef0d..0f232bfb 100644 --- a/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java +++ b/src/main/java/com/minelittlepony/client/compat/hdskins/MineLPHDSkins.java @@ -82,7 +82,7 @@ public class MineLPHDSkins extends SkinsProxy implements ClientModInitializer { if (entity instanceof AbstractClientPlayerEntity player) { PlayerSkins skins = PlayerSkins.of(player); if (skins != null) { - return skins.getProvidedSkinTypes(); + return skins.combined().getProvidedSkinTypes(); } } @@ -110,7 +110,7 @@ public class MineLPHDSkins extends SkinsProxy implements ClientModInitializer { } } - return Optional.of(player).map(PlayerSkins::of).map(skins -> skins.getSkin(type)); + return Optional.of(player).map(PlayerSkins::of).flatMap(skins -> skins.combined().getSkin(type)); } @Override