From efb0e73df9f2a12332ce873884b48ff3c80fc7fe Mon Sep 17 00:00:00 2001 From: iChun Date: Mon, 17 Sep 2012 23:46:09 +0800 Subject: [PATCH] Fixed ModTextureAnimation not updating and not binding to correct image. --- fml/client/net/minecraft/src/ModTextureAnimation.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fml/client/net/minecraft/src/ModTextureAnimation.java b/fml/client/net/minecraft/src/ModTextureAnimation.java index 22d8b3d93..68f924b85 100644 --- a/fml/client/net/minecraft/src/ModTextureAnimation.java +++ b/fml/client/net/minecraft/src/ModTextureAnimation.java @@ -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); + } }