mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
Update hdskins
This commit is contained in:
parent
15274aba2b
commit
0f9e865dc4
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue