From ed341f8f33a267b7d7b5df67bc15ec257cc70a93 Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Mon, 22 May 2017 20:58:47 +0100 Subject: [PATCH 1/3] Added MC_VERSION --- src/main/java/passableleaves/reference/ModInfo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/passableleaves/reference/ModInfo.java b/src/main/java/passableleaves/reference/ModInfo.java index 3b9d9d58f..f2a868dbf 100644 --- a/src/main/java/passableleaves/reference/ModInfo.java +++ b/src/main/java/passableleaves/reference/ModInfo.java @@ -6,6 +6,7 @@ public class ModInfo public static final String MOD_ID = "passableleaves"; public static final String MOD_NAME = "Passable Leaves"; public static final String MOD_VERSION = "@MOD_VERSION@"; + public static final String MC_VERSION = "1.10.2"; public static final String MCF_MINVER = "0.0-MCF+MINVER"; public static final String MCF_MAXVER = "9001.0-MCF+MAXVER"; public static final String CONFIG_DIRECTORY = "PassableLeaves"; From f99e23c65066a8c3cdd66d9c0bef2691afb0c245 Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Mon, 22 May 2017 20:59:21 +0100 Subject: [PATCH 2/3] IFMLLoadingPlugin.MCVersion now uses MC_VERSION --- src/main/java/passableleaves/core/PLCore.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/passableleaves/core/PLCore.java b/src/main/java/passableleaves/core/PLCore.java index 1dbcb506c..780f95898 100644 --- a/src/main/java/passableleaves/core/PLCore.java +++ b/src/main/java/passableleaves/core/PLCore.java @@ -5,6 +5,8 @@ import net.minecraftforge.fml.common.FMLLog; import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; +import passableleaves.reference.ModInfo; + /** * This class was originally written by HellFirePvP for the Appalachia addon for RTG. * It was extracted from Appalachia by WhichOnesPink so that it could be a standalone mod. @@ -14,7 +16,7 @@ * Date: 12.02.2017 / 15:23 */ @IFMLLoadingPlugin.Name(value = "PLCore") -@IFMLLoadingPlugin.MCVersion(value = "1.10.2") +@IFMLLoadingPlugin.MCVersion(value = ModInfo.MC_VERSION) @IFMLLoadingPlugin.TransformerExclusions({"passableleaves.core"}) @IFMLLoadingPlugin.SortingIndex(1001) public class PLCore implements IFMLLoadingPlugin { From e69df02f83f10606b68ede650d379b47759de422 Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Mon, 22 May 2017 20:59:51 +0100 Subject: [PATCH 3/3] Fixed mod_creds and bumped to 4.1.0.1 --- build.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.properties b/build.properties index a79f5ae47..19cf3340c 100644 --- a/build.properties +++ b/build.properties @@ -3,11 +3,11 @@ mod_id=passableleaves mod_name=Passable Leaves mod_desc=Minecraft core mod that makes leaves passable. -mod_version=4.1.0.0 +mod_version=4.1.0.1 mc_version=1.10.2 mod_url=https://github.com/Team-RTG/PassableLeaves mod_author="Team RTG" -mod_creds="Based on code donated by HellFirePvP for the Appalachia mod." +mod_creds=Based on code donated by HellFirePvP for the Appalachia mod. mod_logo=assets/passableleaves/logo.png mcf_version=12.18.2.2099 mcf_minver=12.18.1.2011