From 176b906e7b34a1c16f06830a112456581665c4b1 Mon Sep 17 00:00:00 2001 From: 2piradians <2piradians314@gmail.com> Date: Sat, 2 Sep 2017 18:54:33 -0500 Subject: [PATCH] slight adjustments --- .../minewatch/common/Minewatch.java | 2 +- .../minewatch/common/config/Config.java | 23 ------------------- .../minewatch/common/hero/EnumHero.java | 2 +- .../minewatch/common/item/ModItems.java | 2 -- src/main/resources/mcmod.info | 4 +++- update.json | 4 ++-- 6 files changed, 7 insertions(+), 30 deletions(-) diff --git a/src/main/java/twopiradians/minewatch/common/Minewatch.java b/src/main/java/twopiradians/minewatch/common/Minewatch.java index e1429476..0d8a2669 100644 --- a/src/main/java/twopiradians/minewatch/common/Minewatch.java +++ b/src/main/java/twopiradians/minewatch/common/Minewatch.java @@ -16,7 +16,7 @@ import twopiradians.minewatch.common.command.CommandMinewatch; import twopiradians.minewatch.creativetab.MinewatchTab; -@Mod(modid = Minewatch.MODID, version = Minewatch.VERSION, name = Minewatch.MODNAME, guiFactory = "twopiradians.minewatch.client.gui.config.GuiFactory", updateJSON = "https://raw.githubusercontent.com/2piradians/Minewatch/1.11.2/update.json") +@Mod(modid = Minewatch.MODID, version = Minewatch.VERSION, name = Minewatch.MODNAME, guiFactory = "twopiradians.minewatch.client.gui.config.GuiFactory", updateJSON = "https://raw.githubusercontent.com/2piradians/Minewatch/1.12.2/update.json") public class Minewatch { public static final String MODNAME = "Minewatch"; diff --git a/src/main/java/twopiradians/minewatch/common/config/Config.java b/src/main/java/twopiradians/minewatch/common/config/Config.java index e0766cb0..69ad47d7 100644 --- a/src/main/java/twopiradians/minewatch/common/config/Config.java +++ b/src/main/java/twopiradians/minewatch/common/config/Config.java @@ -63,8 +63,6 @@ public static void syncConfig() { if (durabilityWeaponsProp.getString().equals(DURABILITY_OPTIONS[i])) Config.durabilityOptionWeapons = i; - Config.updateDurability(); - for (EnumHero hero : EnumHero.values()) { Property heroTextureProp = config.get(Config.CATEGORY_HERO_TEXTURES, hero.name+" Texture", hero.textureCredits[0], "Textures for "+hero.name+"'s armor", hero.textureCredits); for (int i=0; i