Added update notices for supporting Minecaft Forge 1.9. Still buggy though.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package de.skate702.craftingkeys;
|
||||
|
||||
// NEW_1_9 cpw.mods.fml => net.minecraftforge.fml
|
||||
|
||||
import cpw.mods.fml.client.event.ConfigChangedEvent;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.Mod;
|
||||
@@ -39,7 +41,7 @@ import net.minecraftforge.common.MinecraftForge;
|
||||
public class CraftingKeys {
|
||||
|
||||
public static final String MODID = "craftingkeys";
|
||||
public static final String VERSION = "1.0.0";
|
||||
public static final String VERSION = "1.0.1";
|
||||
public static final String NAME = "Crafting Keys";
|
||||
|
||||
/**
|
||||
@@ -114,7 +116,7 @@ public class CraftingKeys {
|
||||
*/
|
||||
@SubscribeEvent
|
||||
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent eventArgs) {
|
||||
if (eventArgs.modID.equals(MODID)) {
|
||||
if (eventArgs.modID.equals(MODID)) { // NEW_1_9 modID => getModID()
|
||||
Config.syncConfig();
|
||||
Logger.info("onConfigChanged(e)", "Changed config.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user