mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-20 20:12:28 +00:00
deprecate iloadablemodule as well, prevent loading under 1.7.2 and below
This commit is contained in:
1 parent
7f0638f793
commit
ba254403c9
2 files changed
+2
-9
No files matched your search
@@ -33,7 +33,7 @@ import java.io.File;
|
||||
*
|
||||
* @author Sunstrike <[email protected]>
|
||||
*/
|
||||
@Mod(modid = modId, name = modName, version = modVersion, dependencies = "required-after:Forge")
|
||||
@Mod(modid = modId, name = modName, version = modVersion, dependencies = "required-after:Forge@[10.13,)")
|
||||
public class Mantle
|
||||
{
|
||||
/* Instance of this mod, used for grabbing prototype fields */
|
||||
@@ -45,9 +45,6 @@ public class Mantle
|
||||
public static MProxyCommon proxy;
|
||||
public static Manual mantleBook;
|
||||
public static LogIdentifier logID;
|
||||
@Deprecated //See PulseManager for replacement
|
||||
public static ModuleController moduleLoader = new ModuleController("SlimeKnights" + File.separator + "Mantle-Modules.cfg", "Mantle");
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
@@ -81,7 +78,6 @@ public class Mantle
|
||||
mantleBook = (Manual) new Manual().setUnlocalizedName("mantle.manual");
|
||||
GameRegistry.registerItem(mantleBook, "mantleBook");
|
||||
|
||||
moduleLoader.preInit();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -96,8 +92,6 @@ public class Mantle
|
||||
{
|
||||
logger.info("Entering initialization phase.");
|
||||
proxy.registerRenderer();
|
||||
|
||||
moduleLoader.init();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -120,8 +114,6 @@ public class Mantle
|
||||
mantleBook.updateManual();
|
||||
CoreConfig.loadBookLocations();
|
||||
IDDumps.dump();
|
||||
|
||||
moduleLoader.postInit();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,6 +8,7 @@ package mantle.module;
|
||||
*
|
||||
* @author Arkan <[email protected]>
|
||||
*/
|
||||
@Deprecated //See Pulsar package for replacement
|
||||
public interface ILoadableModule {
|
||||
|
||||
// Example modId field
|
||||
|
||||
Reference in new issue
Block a user