mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
Fix #2940
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user