Fix Yaw Offset issue for Custom Models

This commit is contained in:
Kam committed 2023-11-18 15:11:19 -05:00
1 parent ff49b1ffbd
commit fc4685583e
1 file changed
+1
@@ -220,6 +220,7 @@ public class RenderNPCInterface extends RenderLiving{
private void renderGeoModel(EntityNPCInterface npc, float rot, float partial)
{
((ModelMPM) mainModel).entity.renderYawOffset = ((ModelMPM) mainModel).entity.prevRenderYawOffset = 0;
if (!npc.isInvisible())
{
RenderManager.instance.renderEntityWithPosYaw(((ModelMPM) mainModel).entity, 0,0,0,rot,partial);