Fix resource loading on some mac systems when SplashProgress is enabled (#4082)

This commit is contained in:
Justin authored and LexManos committed 2017-11-09 22:32:01 -08:00
1 parent 5a6f19f1c2
commit a59d20fc02
2 files changed
+7 -7

No files matched your search

@@ -158,10 +158,9 @@ public class SplashProgress
FMLLog.log.info("Could not load splash.properties, will create a default one");
}
//Some system do not support this and have weird effects so we need to detect and disable by default.
//Some systems do not support this and have weird effects, so we need to detect and disable them by default.
//The user can always force enable it if they want to take the responsibility for bugs.
//For now macs derp so disable them.
boolean defaultEnabled = !System.getProperty("os.name").toLowerCase().contains("mac");
boolean defaultEnabled = true;
// Enable if we have the flag, and there's either no optifine, or optifine has added a key to the blackboard ("optifine.ForgeSplashCompatible")
// Optifine authors - add this key to the blackboard if you feel your modifications are now compatible with this code.