Fixed neck appearing in first person when First Person Model is installed

This commit is contained in:
Sollace 2023-07-10 20:01:24 +01:00
parent c2380013a9
commit 8042e83e8a
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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);