Possibly fixed reloading resources crash

This commit is contained in:
PeytonPlayz595 2023-10-16 22:40:03 -04:00
parent f1aa39a8a9
commit a87779e7ee
6 changed files with 56971 additions and 56993 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ public class CustomSky {
Properties properties = new Properties();
properties.load(inputstream);
inputstream.close();
Config.dbg("CustomSky properties: " + s2);
//Config.dbg("CustomSky properties: " + s2);
String s3 = s1 + k + ".png";
CustomSkyLayer customskylayer = new CustomSkyLayer(properties, s3);
@ -58,7 +58,7 @@ public class CustomSky {
ITextureObject itextureobject = TextureUtils.getTexture(resourcelocation1);
if (itextureobject == null) {
Config.log("CustomSky: Texture not found: " + resourcelocation1);
//Config.log("CustomSky: Texture not found: " + resourcelocation1);
} else {
customskylayer.textureId = itextureobject.getGlTextureId();
list.add(customskylayer);

View File

@ -135,7 +135,6 @@ public class TextureUtils {
BetterGrass.update();
CustomSky.update();
SmartLeaves.updateLeavesModels();
Config.getTextureManager().tick();
}
}