Fix array overflow bug

This commit is contained in:
catfoolyou
2025-04-02 12:45:11 -04:00
parent 6018ff3798
commit 2a263f8941
5 changed files with 34090 additions and 34091 deletions

View File

@@ -94,6 +94,7 @@ public class RenderHorse extends RenderLiving
String[] varTextures = par1EntityHorse.getVariantTexturePaths();
for(String tex : varTextures){
horseVariantTextures.clear();
if(tex != null){
horseVariantTextures.add(new TextureLocation(tex));
}