Fixed ModTextureAnimation not updating and not binding to correct image.
This commit is contained in:
parent
a837d82e68
commit
efb0e73df9
1 changed files with 6 additions and 1 deletions
|
@ -108,7 +108,7 @@ public class ModTextureAnimation extends FMLTextureFX
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void func_783_a()
|
public void func_76846_a()
|
||||||
{
|
{
|
||||||
if (++ticks >= tickRate)
|
if (++ticks >= tickRate)
|
||||||
{
|
{
|
||||||
|
@ -121,4 +121,9 @@ public class ModTextureAnimation extends FMLTextureFX
|
||||||
ticks = 0;
|
ticks = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void func_76845_a(RenderEngine renderEngine)
|
||||||
|
{
|
||||||
|
GL11.glBindTexture(GL11.GL_TEXTURE_2D, field_76847_f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue