mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Fixed neck appearing in first person when First Person Model is installed
This commit is contained in:
parent
c2380013a9
commit
8042e83e8a
2 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,6 @@ package com.minelittlepony.client.hdskins;
|
|||
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.gui.DrawContext;
|
||||
import net.minecraft.client.render.VertexConsumerProvider.Immediate;
|
||||
import net.minecraft.client.world.ClientWorld;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
|
|
@ -610,6 +610,8 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
|||
}
|
||||
|
||||
neck.visible = head.visible;
|
||||
} else {
|
||||
neck.hidden = !head.visible;
|
||||
}
|
||||
|
||||
PonyTransformation.forSize(getSize()).transform(this, part, stack);
|
||||
|
|
Loading…
Reference in a new issue