Improved atmosphere shader performance

This commit is contained in:
Anuken
2020-03-30 11:35:22 -04:00
parent 115e3a737b
commit 084c90ba9f
4 changed files with 19 additions and 11 deletions

View File

@@ -369,7 +369,7 @@ public class Mods implements Loadable{
private void checkWarnings(){
//show 'scripts have errored' info
if(scripts != null && scripts.hasErrored()){
Core.settings.getBoolOnce("scripts-errored2", () -> ui.showErrorMessage("$mod.scripts.unsupported"));
ui.showErrorMessage("$mod.scripts.unsupported");
}
//show list of errored content
@@ -417,7 +417,7 @@ public class Mods implements Loadable{
}
public boolean hasContentErrors(){
return mods.contains(LoadedMod::hasContentErrors);
return mods.contains(LoadedMod::hasContentErrors) || (scripts != null && scripts.hasErrored());
}
/** Reloads all mod content. How does this even work? I refuse to believe that it functions correctly.*/