Skip to content

Commit 57bf806

Browse files
committed
add flavour text
1 parent c6abc00 commit 57bf806

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/com/falsepattern/lib/internal/asm/CoreLoadingPlugin.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
*/
2121
package com.falsepattern.lib.internal.asm;
2222

23+
import com.falsepattern.lib.internal.Share;
2324
import com.falsepattern.lib.internal.Tags;
2425
import com.falsepattern.lib.internal.impl.dependencies.DependencyLoaderImpl;
2526
import com.falsepattern.lib.mapping.MappingManager;
@@ -47,14 +48,18 @@ public class CoreLoadingPlugin implements IFMLLoadingPlugin {
4748
private static boolean obfuscated;
4849

4950
static {
51+
Share.LOG.info("Removing skill issues...");
5052
try {
5153
Class.forName("thermos.Thermos");
54+
Share.LOG.fatal("Sorry, i prefer iced coffee.");
5255
throw skillIssue("Thermos is not supported by FalsePatternLib, please use a normal forge server.");
5356
} catch (ClassNotFoundException ignored) {
5457
}
5558
//Scan for dependencies now
59+
Share.LOG.info("Scanning for deps...");
5660
DependencyLoaderImpl.scanDeps();
5761
//Initializing the rest
62+
Share.LOG.info("Initializing mapping manager...");
5863
MappingManager.initialize();
5964
}
6065

@@ -109,13 +114,15 @@ private static Error skillIssue(String message) {
109114
}
110115

111116
public static void validateGasStation() {
117+
Share.LOG.info("Got any gas?");
112118
//Make sure everything is loaded correctly, crash if gasstation is bugged
113119
if (!isClassPresentSafe("com.falsepattern.gasstation.core.GasStationCore") || //Validate core class
114120
!isClassPresentSafe("makamys.mixingasm.api.TransformerInclusions") || //Validate the mixingasm compat
115121
!isClassPresentSafe("ru.timeconqueror.spongemixins.core.SpongeMixinsCore") || //Validate the spongemixins compat
116122
!isClassPresentSafe("io.github.tox1cozz.mixinbooterlegacy.MixinBooterLegacyPlugin") || //Validate the MBL compat
117123
(!isClassPresentSafe("org.spongepowered.asm.lib.Opcodes") || isClassPresentSafe("org.spongepowered.libraries.org.objectweb.asm.Opcodes")) //Validate correct mixins class
118124
) {
125+
Share.LOG.fatal("Somebody put diesel in my gas tank!");
119126
throw new Error("Failed to validate your GasStation mixin plugin installation. Please make sure you have the latest GasStation installed from the official source: https://github.com/FalsePattern/GasStation");
120127
}
121128
}

0 commit comments

Comments
 (0)