|
20 | 20 | */
|
21 | 21 | package com.falsepattern.lib.internal.asm;
|
22 | 22 |
|
| 23 | +import com.falsepattern.lib.internal.Share; |
23 | 24 | import com.falsepattern.lib.internal.Tags;
|
24 | 25 | import com.falsepattern.lib.internal.impl.dependencies.DependencyLoaderImpl;
|
25 | 26 | import com.falsepattern.lib.mapping.MappingManager;
|
@@ -47,14 +48,18 @@ public class CoreLoadingPlugin implements IFMLLoadingPlugin {
|
47 | 48 | private static boolean obfuscated;
|
48 | 49 |
|
49 | 50 | static {
|
| 51 | + Share.LOG.info("Removing skill issues..."); |
50 | 52 | try {
|
51 | 53 | Class.forName("thermos.Thermos");
|
| 54 | + Share.LOG.fatal("Sorry, i prefer iced coffee."); |
52 | 55 | throw skillIssue("Thermos is not supported by FalsePatternLib, please use a normal forge server.");
|
53 | 56 | } catch (ClassNotFoundException ignored) {
|
54 | 57 | }
|
55 | 58 | //Scan for dependencies now
|
| 59 | + Share.LOG.info("Scanning for deps..."); |
56 | 60 | DependencyLoaderImpl.scanDeps();
|
57 | 61 | //Initializing the rest
|
| 62 | + Share.LOG.info("Initializing mapping manager..."); |
58 | 63 | MappingManager.initialize();
|
59 | 64 | }
|
60 | 65 |
|
@@ -109,13 +114,15 @@ private static Error skillIssue(String message) {
|
109 | 114 | }
|
110 | 115 |
|
111 | 116 | public static void validateGasStation() {
|
| 117 | + Share.LOG.info("Got any gas?"); |
112 | 118 | //Make sure everything is loaded correctly, crash if gasstation is bugged
|
113 | 119 | if (!isClassPresentSafe("com.falsepattern.gasstation.core.GasStationCore") || //Validate core class
|
114 | 120 | !isClassPresentSafe("makamys.mixingasm.api.TransformerInclusions") || //Validate the mixingasm compat
|
115 | 121 | !isClassPresentSafe("ru.timeconqueror.spongemixins.core.SpongeMixinsCore") || //Validate the spongemixins compat
|
116 | 122 | !isClassPresentSafe("io.github.tox1cozz.mixinbooterlegacy.MixinBooterLegacyPlugin") || //Validate the MBL compat
|
117 | 123 | (!isClassPresentSafe("org.spongepowered.asm.lib.Opcodes") || isClassPresentSafe("org.spongepowered.libraries.org.objectweb.asm.Opcodes")) //Validate correct mixins class
|
118 | 124 | ) {
|
| 125 | + Share.LOG.fatal("Somebody put diesel in my gas tank!"); |
119 | 126 | 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");
|
120 | 127 | }
|
121 | 128 | }
|
|
0 commit comments