make the check more resilient in case the transformer is blocked

This commit is contained in:
FalsePattern committed 2023-01-04 01:26:23 +01:00
1 parent 4b3fc3c812
commit 4cbda7a568
3 files changed
+20 -9

No files matched your search

@@ -20,8 +20,10 @@
*/
package com.falsepattern.lib.internal;
import com.falsepattern.lib.internal.asm.CoreLoadingPlugin;
import com.falsepattern.lib.internal.proxy.CommonProxy;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLConstructionEvent;
@@ -64,6 +66,9 @@ public class FalsePatternLib {
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent e) {
if (Loader.isModLoaded("gasstation")) {
CoreLoadingPlugin.validateGasStation();
}
proxy.postInit(e);
}