Fixed an issue with the Phoenix Arrow's texture disappearing when relogging.
This commit is contained in:
parent
c4f7ad98e2
commit
47bc85f1bf
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public class PhoenixArrowRenderer extends Render {
|
||||||
|
|
||||||
public void renderArrow(EntityPhoenixArrow var1, double var2, double var4, double var6, float var8, float var9) {
|
public void renderArrow(EntityPhoenixArrow var1, double var2, double var4, double var6, float var8, float var9) {
|
||||||
if (var1.prevRotationYaw != 0.0F || var1.prevRotationPitch != 0.0F) {
|
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.glPushMatrix();
|
||||||
GL11.glTranslatef((float) var2, (float) var4, (float) var6);
|
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);
|
GL11.glRotatef(var1.prevRotationYaw + (var1.rotationYaw - var1.prevRotationYaw) * var9 - 90.0F, 0.0F, 1.0F, 0.0F);
|
||||||
|
|
Loading…
Reference in a new issue