Fixed ModTextureAnimation not updating and not binding to correct image.

This commit is contained in:
iChun 2012-09-17 23:46:09 +08:00
parent a837d82e68
commit efb0e73df9

View file

@ -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);
}
} }