package io.github.moulberry.notenoughupdates.util; import com.google.gson.JsonObject; public class Constants { public static JsonObject BONUSES; public static JsonObject DISABLE; public static JsonObject ENCHANTS; public static JsonObject LEVELING; public static JsonObject MISC; public static JsonObject PETNUMS; public static JsonObject PETS; public static JsonObject PARENTS; public static void reload() { BONUSES = Utils.getConstant("bonuses"); DISABLE = Utils.getConstant("disable"); ENCHANTS = Utils.getConstant("enchants"); LEVELING = Utils.getConstant("leveling"); MISC = Utils.getConstant("misc"); PETNUMS = Utils.getConstant("petnums"); PETS = Utils.getConstant("pets"); PARENTS = Utils.getConstant("parents"); } static { reload(); } }