andrewphorn / ClassiCube-Client

The applet used for classicube.net
34 stars 19 forks source link

Lets try this again #250

Closed umby24 closed 10 years ago

umby24 commented 10 years ago

Fixed an issue with texture animations being disabled.. hopefully.

Jonty800 commented 10 years ago

From what I remember, I used animations.clear() to unregister the animations (needed for ANY custom texture pack). So you should continue to use .clear() when a custom pack is loaded (.length() > 0).

I also made textureManager.registerAnimations() to re-register when the default is used, however, I maybe implemented a system where this was automatically applied. If not, feel free to use it when length() < 0

umby24 commented 10 years ago

Correct, further up in minecraft.java, when .length > 0, if the texturepack url meets all requirements, then it will use animations.clear(). Otherwise, when using default or the currently loaded pack, it will keep the current animations.