mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-18 11:19:29 +00:00
Add error hint when block is invalid (#31)
Co-authored-by: kstvr32 <[email protected]> Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
10 files changed
+315
-16
No files matched your search
@@ -100,6 +100,8 @@ public class StructureLib {
|
||||
}
|
||||
};
|
||||
|
||||
public static boolean isGTLoaded;
|
||||
|
||||
@Mod.EventHandler
|
||||
public void preInit(FMLPreInitializationEvent e) {
|
||||
ConfigurationHandler.INSTANCE.init(e.getSuggestedConfigurationFile());
|
||||
@@ -118,6 +120,8 @@ public class StructureLib {
|
||||
if (Loader.isModLoaded(STRUCTURECOMPAT_MODID)) {
|
||||
COMPAT = Loader.instance().getIndexedModList().get(STRUCTURECOMPAT_MODID).getMod();
|
||||
}
|
||||
|
||||
isGTLoaded = Loader.isModLoaded("gregtech");
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
|
||||
Reference in new issue
Block a user