]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/commitdiff
1.8.9 Compatibility Fix
authorPatrick Shannon <pinaz993@gmail.com>
Wed, 27 Jan 2016 20:39:19 +0000 (15:39 -0500)
committerPatrick Shannon <pinaz993@gmail.com>
Wed, 27 Jan 2016 20:39:19 +0000 (15:39 -0500)
These changes might fix the issue that a lot of mods are having, where they inherit acceptedMinecraftVersion instead of setting it manually, and something goes wrong. Minecraft Errors and says that <mod> wants Minecraft [1.8,1.8]

As far as I can tell, the round bracket at the end is important, but I might not be.

I shall be testing this.

java/com/irtimaled/bbor/forge/ForgeMod.java

index 2a8d7ef2896c68e1958f0fad5e6bfd86f7481354..11c5ccf392587ae1660a1e5d74433daa0c5faaa8 100644 (file)
@@ -9,12 +9,13 @@ import net.minecraftforge.fml.common.event.FMLInitializationEvent;
 import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
 import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
 
-@Mod(modid = ForgeMod.MODID, name = ForgeMod.NAME, version = ForgeMod.VERSION)
+@Mod(modid = ForgeMod.MODID, name = ForgeMod.NAME, version = ForgeMod.VERSION, acceptedMinecraftVersions = ForgeMod.MCVERSION)
 public class ForgeMod {
 
     public static final String MODID = "bbor";
     public static final String NAME = "Bounding Box Outline Reloaded";
     public static final String VERSION = "1.0.0-beta11";
+    public static final String MCVERSION = "[1.8,1.8.9)";
 
     private ConfigManager configManager;
 
@@ -26,7 +27,6 @@ public class ForgeMod {
     @SidedProxy(clientSide = "com.irtimaled.bbor.forge.ForgeClientProxy", serverSide = "com.irtimaled.bbor.forge.ForgeCommonProxy")
     public static ForgeCommonProxy proxy;
 
-
     @Mod.EventHandler
     public void preInit(FMLPreInitializationEvent evt) {
         configManager = new ConfigManager(evt.getModConfigurationDirectory());