Skip to content

Commit

Permalink
deprecate iloadablemodule as well, prevent loading under 1.7.2 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
progwml6 committed Jul 4, 2014
1 parent 7f0638f commit ba25440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
10 changes: 1 addition & 9 deletions src/mantle/Mantle.java
Expand Up @@ -33,7 +33,7 @@
*
* @author Sunstrike <sun@sunstrike.io>
*/
@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 */
Expand All @@ -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
*
Expand Down Expand Up @@ -81,7 +78,6 @@ public void preInit (FMLPreInitializationEvent evt)
mantleBook = (Manual) new Manual().setUnlocalizedName("mantle.manual");
GameRegistry.registerItem(mantleBook, "mantleBook");

moduleLoader.preInit();
}

/**
Expand All @@ -96,8 +92,6 @@ public void Init (FMLInitializationEvent evt)
{
logger.info("Entering initialization phase.");
proxy.registerRenderer();

moduleLoader.init();
}

/**
Expand All @@ -120,8 +114,6 @@ public void postInit (FMLPostInitializationEvent evt)
mantleBook.updateManual();
CoreConfig.loadBookLocations();
IDDumps.dump();

moduleLoader.postInit();
}

}
1 change: 1 addition & 0 deletions src/mantle/module/ILoadableModule.java
Expand Up @@ -8,6 +8,7 @@
*
* @author Arkan <arkan@emberwalker.cc>
*/
@Deprecated //See Pulsar package for replacement
public interface ILoadableModule {

// Example modId field
Expand Down

0 comments on commit ba25440

Please sign in to comment.