Fixed! :D
This commit is contained in:
parent
3ec8a3bdb1
commit
a2f667baf5
|
@ -27,7 +27,5 @@ public class SoundHandler
|
||||||
{
|
{
|
||||||
event.manager.addSound(MekanismInduction.PREFIX + SOUND_FILES[i]);
|
event.manager.addSound(MekanismInduction.PREFIX + SOUND_FILES[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
MekanismInduction.LOGGER.fine("Loaded sound fxs");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,8 +55,6 @@ public class MekanismInduction implements IModule
|
||||||
/**
|
/**
|
||||||
* Mod Information
|
* Mod Information
|
||||||
*/
|
*/
|
||||||
public static final String ID = "mekanism";
|
|
||||||
public static final String NAME = "MekanismInduction";
|
|
||||||
|
|
||||||
public static final String MAJOR_VERSION = "@MAJOR@";
|
public static final String MAJOR_VERSION = "@MAJOR@";
|
||||||
public static final String MINOR_VERSION = "@MINOR@";
|
public static final String MINOR_VERSION = "@MINOR@";
|
||||||
|
@ -73,8 +71,6 @@ public class MekanismInduction implements IModule
|
||||||
/** MekanismInduction version number */
|
/** MekanismInduction version number */
|
||||||
public static Version versionNumber = new Version(5, 6, 0);
|
public static Version versionNumber = new Version(5, 6, 0);
|
||||||
|
|
||||||
public static final Logger LOGGER = Logger.getLogger(NAME);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Directory Information
|
* Directory Information
|
||||||
*/
|
*/
|
||||||
|
@ -130,7 +126,6 @@ public class MekanismInduction implements IModule
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void preInit(FMLPreInitializationEvent evt)
|
public void preInit(FMLPreInitializationEvent evt)
|
||||||
{
|
{
|
||||||
LOGGER.setParent(FMLLog.getLogger());
|
|
||||||
NetworkRegistry.instance().registerGuiHandler(this, MekanismInduction.proxy);
|
NetworkRegistry.instance().registerGuiHandler(this, MekanismInduction.proxy);
|
||||||
MinecraftForge.EVENT_BUS.register(new MultimeterEventHandler());
|
MinecraftForge.EVENT_BUS.register(new MultimeterEventHandler());
|
||||||
Mekanism.configuration.load();
|
Mekanism.configuration.load();
|
||||||
|
@ -230,14 +225,9 @@ public class MekanismInduction implements IModule
|
||||||
nameToClassMap.put(findTileID, replaceTile);
|
nameToClassMap.put(findTileID, replaceTile);
|
||||||
classToNameMap.put(replaceTile, findTileID);
|
classToNameMap.put(replaceTile, findTileID);
|
||||||
classToNameMap.remove(findTile);
|
classToNameMap.remove(findTile);
|
||||||
LOGGER.fine("Replaced TileEntity: " + findTile);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
LOGGER.severe("Failed to replace TileEntity: " + findTile);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(Exception e) {
|
catch(Exception e) {
|
||||||
LOGGER.severe("Failed to replace TileEntity: " + findTile);
|
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue