Update AnimatedResourceLocation.java

This commit is contained in:
kirillsaint 2023-10-09 11:31:08 +06:00
parent 1c6e1965e4
commit 22bc9d9bac
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class AnimatedResourceLocation {
public void bindTexture() { public void bindTexture() {
// if(currentFrame == 0) { // if(currentFrame == 0) {
// binding = false; // binding = false;
Minecraft.getMinecraft().getTextureManager().bindTexture(this.getTextures()[0]); Minecraft.getMinecraft().getTextureManager().bindTexture(this.getTexture());
// return; // return;
// } // }
// binding = ((TextureManagerExt) Minecraft.getMinecraft().getTextureManager()).waitBindTexture(new StaticResourceLocation(this.getTexture().getResourcePath()), new StaticResourceLocation(this.getTextures()[0].getResourcePath()), 1000); // binding = ((TextureManagerExt) Minecraft.getMinecraft().getTextureManager()).waitBindTexture(new StaticResourceLocation(this.getTexture().getResourcePath()), new StaticResourceLocation(this.getTextures()[0].getResourcePath()), 1000);