Merge pull request #103 from iChun/patch-2
Fixed ModTextureAnimation not updating and not binding to correct image.
This commit is contained in:
commit
d1458c594e
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)
|
||||
{
|
||||
|
@ -121,4 +121,9 @@ public class ModTextureAnimation extends FMLTextureFX
|
|||
ticks = 0;
|
||||
}
|
||||
}
|
||||
|
||||
public void func_76845_a(RenderEngine renderEngine)
|
||||
{
|
||||
GL11.glBindTexture(GL11.GL_TEXTURE_2D, field_76847_f);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue