From 916d9f3d34ec931ed768d10c4f84772832a69376 Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Wed, 8 Jun 2016 13:37:41 +0200 Subject: [PATCH] Change updateJSON to point to the version branch Also change acceptedMinecraftVersions --- build.gradle | 3 +-- src/main/java/ljfa/tntutils/Reference.java | 2 +- src/main/java/ljfa/tntutils/TNTUtils.java | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 214f548..adc0444 100644 --- a/build.gradle +++ b/build.gradle @@ -32,12 +32,11 @@ jar { } curseforge { - apiKey = project.curseForgeApiKey + apiKey = project.hasProperty('curseForgeApiKey') ? project.curseForgeApiKey : '' project { id = '227449' changelog = '' releaseType = 'alpha' - addGameVersion '1.9' } } diff --git a/src/main/java/ljfa/tntutils/Reference.java b/src/main/java/ljfa/tntutils/Reference.java index 6465adc..71454c2 100644 --- a/src/main/java/ljfa/tntutils/Reference.java +++ b/src/main/java/ljfa/tntutils/Reference.java @@ -7,5 +7,5 @@ public class Reference { public static final String CLIENT_PROXY_CLASS = "ljfa.tntutils.proxy.ClientProxy"; public static final String SERVER_PROXY_CLASS = "ljfa.tntutils.proxy.CommonProxy"; public static final String GUI_FACTORY_CLASS = "ljfa.tntutils.gui.TntuGuiFactory"; - public static final String UPDATE_JSON = "https://raw.githubusercontent.com/ljfa-ag/TNTUtils/master/version.json"; + public static final String UPDATE_JSON = "https://raw.githubusercontent.com/ljfa-ag/TNTUtils/version/version.json"; } diff --git a/src/main/java/ljfa/tntutils/TNTUtils.java b/src/main/java/ljfa/tntutils/TNTUtils.java index 954e1fa..ff752cf 100644 --- a/src/main/java/ljfa/tntutils/TNTUtils.java +++ b/src/main/java/ljfa/tntutils/TNTUtils.java @@ -15,7 +15,7 @@ @Mod(modid = Reference.MODID, name = Reference.MODNAME, version = Reference.VERSION, acceptableRemoteVersions = "*", guiFactory = Reference.GUI_FACTORY_CLASS, dependencies = "required-after:tnt_utilities_core", - acceptedMinecraftVersions = "[1.9,)", updateJSON = Reference.UPDATE_JSON) + acceptedMinecraftVersions = "[1.9.4,1.10)", updateJSON = Reference.UPDATE_JSON) public class TNTUtils { @Mod.Instance(Reference.MODID) public static TNTUtils instance;