mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-25 14:24:40 +00:00
Update EnvChecks.
Remove Magic Launcher check.
This commit is contained in:
1 parent
2d4ac69f8f
commit
0d735fd3b2
1 file changed
-14
@@ -58,20 +58,6 @@ public class EnvironmentChecks
|
||||
// No Bukkit in environment.
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
Class cl = Class.forName("magic.launcher.Launcher");
|
||||
if (cl != null)
|
||||
{
|
||||
if (!CoreConfig.silenceEnvChecks) logger.severe("[Environment Checks] Magic Launcher detected. This launches the game in strange ways and as such is not recommended.");
|
||||
modIds.add("magic_launcher");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// No Magic Launcher in environment.
|
||||
}
|
||||
|
||||
if (modIds.size() == 0)
|
||||
{
|
||||
ICrashCallable callable = new CallableSuppConfig(modId);
|
||||
|
||||
Reference in new issue
Block a user