mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-12 09:37:36 +00:00
disallow using Thermos with my mods, it only causes unnecessary headaches.
This commit is contained in:
1 file changed
+15
@@ -1,5 +1,7 @@
|
||||
package com.falsepattern.lib.internal;
|
||||
|
||||
import lombok.val;
|
||||
|
||||
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
|
||||
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion;
|
||||
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.Name;
|
||||
@@ -13,6 +15,19 @@ import java.util.Map;
|
||||
@Name(Tags.MODID)
|
||||
@SortingIndex(500)
|
||||
public class CoreLoadingPlugin implements IFMLLoadingPlugin {
|
||||
static {
|
||||
try {
|
||||
Class.forName("thermos.Thermos");
|
||||
val iAmNotFixingThisDontEvenAskPlusSkillIssue =
|
||||
new Error("\n\n" +
|
||||
"--------------------------------------------------------------------------------\n" +
|
||||
"|Thermos is not supported by FalsePatternLib, please use a normal forge server.|\n" +
|
||||
"| Any bug reports concerning this message will be silently deleted. |\n" +
|
||||
"--------------------------------------------------------------------------------\n");
|
||||
iAmNotFixingThisDontEvenAskPlusSkillIssue.setStackTrace(new StackTraceElement[0]);
|
||||
throw iAmNotFixingThisDontEvenAskPlusSkillIssue;
|
||||
} catch (ClassNotFoundException ignored) {}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getASMTransformerClass() {
|
||||
|
||||
Reference in new issue
Block a user