mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 10:34:49 +00:00
Merge pull request #103 from iChun/patch-2
Fixed ModTextureAnimation not updating and not binding to correct image.
This commit is contained in:
commit
e9cfd10e39
1 file changed
+6
-1
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user