Skip to content

Commit

Permalink
Update EnvChecks.
Browse files Browse the repository at this point in the history
Remove Magic Launcher check.
  • Loading branch information
Sunstrike committed Dec 9, 2013
1 parent 2d4ac69 commit 0d735fd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/mantle/lib/environment/EnvironmentChecks.java
Expand Up @@ -58,20 +58,6 @@ public static void verifyEnvironmentSanity ()
// 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);
Expand Down

0 comments on commit 0d735fd

Please sign in to comment.