Possibly fixed reloading resources crash
This commit is contained in:
parent
f1aa39a8a9
commit
a87779e7ee
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
37985
javascript/classes.js
37985
javascript/classes.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||
|
|
|
@ -135,7 +135,6 @@ public class TextureUtils {
|
|||
BetterGrass.update();
|
||||
CustomSky.update();
|
||||
SmartLeaves.updateLeavesModels();
|
||||
Config.getTextureManager().tick();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user