Removed mod metadata as it is not used anymore
This commit is contained in:
parent
705e85f20d
commit
c9a41dd735
1 changed files with 0 additions and 16 deletions
|
@ -4,7 +4,6 @@ import cpw.mods.fml.common.Mod.EventHandler
|
|||
import cpw.mods.fml.common.event.{FMLInitializationEvent, FMLPostInitializationEvent, FMLPreInitializationEvent}
|
||||
import cpw.mods.fml.common.network.NetworkRegistry
|
||||
import cpw.mods.fml.common.{Mod, ModMetadata, SidedProxy}
|
||||
import net.minecraft.item.ItemStack
|
||||
import net.minecraftforge.common.MinecraftForge
|
||||
import net.minecraftforge.common.config.Configuration
|
||||
import org.modstats.{ModstatInfo, Modstats}
|
||||
|
@ -33,9 +32,6 @@ final object ResonantInduction
|
|||
@SidedProxy(clientSide = "resonantinduction.core.ClientProxy", serverSide = "resonantinduction.core.CommonProxy")
|
||||
var proxy: CommonProxy = _
|
||||
|
||||
@Mod.Metadata(References.ID)
|
||||
var metadata: ModMetadata = null
|
||||
|
||||
@EventHandler
|
||||
def preInit(evt: FMLPreInitializationEvent)
|
||||
{
|
||||
|
@ -62,18 +58,6 @@ final object ResonantInduction
|
|||
@EventHandler
|
||||
def init(evt: FMLInitializationEvent)
|
||||
{
|
||||
//TODO: Why is there an if statement check here?
|
||||
if (ResonantInduction.metadata != null)
|
||||
{
|
||||
ResonantInduction.metadata.modId = Reference.name
|
||||
ResonantInduction.metadata.name = Reference.name
|
||||
ResonantInduction.metadata.description = Reference.name + " is a mod... TODO add description"
|
||||
ResonantInduction.metadata.url = "http://calclavia.com/resonant-induction/"
|
||||
ResonantInduction.metadata.version = Reference.version + Reference.build
|
||||
ResonantInduction.metadata.authorList = List[String]("Calclavia", "DarkCow", "tgame14", "Maxwolf")
|
||||
ResonantInduction.metadata.autogenerated = false
|
||||
}
|
||||
|
||||
ResonantPartFactory.init()
|
||||
ResonantEngine.resourceFactory.generateAll()
|
||||
loadables.init()
|
||||
|
|
Loading…
Reference in a new issue