Fixed an issue with the Phoenix Arrow's texture disappearing when relogging.

This commit is contained in:
bconlon 2020-07-18 22:56:08 -07:00
parent c4f7ad98e2
commit 47bc85f1bf

View file

@ -21,7 +21,7 @@ public class PhoenixArrowRenderer extends Render {
public void renderArrow(EntityPhoenixArrow var1, double var2, double var4, double var6, float var8, float var9) {
if (var1.prevRotationYaw != 0.0F || var1.prevRotationPitch != 0.0F) {
this.bindEntityTexture(var1);
this.bindTexture(Aether.locate("textures/entities/projectile/flaming_arrow.png"));
GL11.glPushMatrix();
GL11.glTranslatef((float) var2, (float) var4, (float) var6);
GL11.glRotatef(var1.prevRotationYaw + (var1.rotationYaw - var1.prevRotationYaw) * var9 - 90.0F, 0.0F, 1.0F, 0.0F);