This commit is contained in:
Vincent Lee committed 2019-07-04 12:19:20 -07:00
1 parent 0faad6c550
commit b0d875b3da
1 file changed
+3
@@ -43,6 +43,9 @@ public final class ContributorFancinessHandler implements LayerRenderer<EntityPl
@Override
public void doRenderLayer(@Nonnull EntityPlayer player, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
if(player.isInvisible())
return;
String name = player.getDisplayName().getUnformattedText();
float yaw = player.prevRotationYawHead + (player.rotationYawHead - player.prevRotationYawHead) * partialTicks;