From b5847b1ae7f3752d712e4bf8ad81452d63358f45 Mon Sep 17 00:00:00 2001 From: Langtanium <94726057+Langtanium@users.noreply.github.com> Date: Mon, 18 May 2026 12:01:41 -0700 Subject: [PATCH] Small correction Removed some spaces and added resModel default value to not break a previous fix for skins on servers. --- Minecraft.Client/PlayerRenderer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Minecraft.Client/PlayerRenderer.cpp b/Minecraft.Client/PlayerRenderer.cpp index 68801625..3a4fe742 100644 --- a/Minecraft.Client/PlayerRenderer.cpp +++ b/Minecraft.Client/PlayerRenderer.cpp @@ -63,11 +63,12 @@ static unsigned int nametagColorForIndex(int index) ResourceLocation PlayerRenderer::DEFAULT_LOCATION = ResourceLocation(TN_MOB_CHAR); -PlayerRenderer::PlayerRenderer() : LivingEntityRenderer( new HumanoidModel(0), 0.5f, true ) +PlayerRenderer::PlayerRenderer() : LivingEntityRenderer(new HumanoidModel(0), 0.5f, true) { - humanoidModel = static_cast(model); - humanoidModelWide = static_cast(modelWide); - humanoidModelSlim = static_cast(modelSlim); + humanoidModel = static_cast(model); + humanoidModelWide = static_cast(modelWide); + humanoidModelSlim = static_cast(modelSlim); + resModel = humanoidModel; armorParts1 = new HumanoidModel(1.0f, true); armorParts2 = new HumanoidModel(0.5f, true);