mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed steve pony heads having deadmou5 ears
This commit is contained in:
parent
c2ac9cbbfa
commit
c622eeb2c1
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ public class PlayerSkullRenderer extends PonySkull {
|
|||
|
||||
@Override
|
||||
public ResourceLocation getSkinResource(@Nullable GameProfile profile) {
|
||||
if (profile != null) {
|
||||
deadMau5.setVisible("deadmau5".equals(profile.getName()));
|
||||
deadMau5.setVisible(profile != null && "deadmau5".equals(profile.getName()));
|
||||
|
||||
if (profile != null) {
|
||||
ResourceLocation skin = HDSkinManager.INSTANCE.getTextures(profile).get(Type.SKIN);
|
||||
if (skin != null && Pony.getBufferedImage(skin) != null) {
|
||||
return skin;
|
||||
|
|
Loading…
Reference in a new issue