mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Bad Magic Launcher, bad! *whacks*
This commit is contained in:
1 parent
f3b31b7914
commit
f68a27be28
1 file changed
+14
@@ -51,6 +51,20 @@ public class EnvironmentChecks
|
||||
// No Bukkit in environment.
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
Class cl = Class.forName("magic.launcher.Launcher");
|
||||
if (cl != null)
|
||||
{
|
||||
TConstruct.logger.severe("[Environment Checks] Magic Launcher detected. We recommend using anything else. Vanilla's launcher works fine, as do others.");
|
||||
modIds.add("magic_launcher");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// No derpy Magic Launcher in environment.
|
||||
}
|
||||
|
||||
if (modIds.size() == 0)
|
||||
{
|
||||
ICrashCallable callable = new CallableSuppConfig();
|
||||
|
||||
Reference in new issue
Block a user