From b05aadae5208a46220ee91df4a78f5fde2a9cb19 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 20 Mar 2023 11:13:40 +0100 Subject: SkyHanni now warns during startup when using NEU 2.1.0 or older --- src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java index 00e1f2f8d..bfbdcb81d 100644 --- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java +++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java @@ -69,11 +69,15 @@ import org.apache.logging.log4j.Logger; import java.util.ArrayList; import java.util.List; -@Mod(modid = SkyHanniMod.MODID, version = SkyHanniMod.VERSION, clientSideOnly = true, useMetadata = true, guiFactory = "at.hannibal2.skyhanni.config.ConfigGuiForgeInterop") +@Mod(modid = SkyHanniMod.MODID, version = SkyHanniMod.VERSION, clientSideOnly = true, useMetadata = true, + guiFactory = "at.hannibal2.skyhanni.config.ConfigGuiForgeInterop", +dependencies = SkyHanniMod.DEPENDENCIES) public class SkyHanniMod { public static final String MODID = "skyhanni"; public static final String VERSION = "0.17.Beta.20"; + public static final String DEPENDENCIES = "after:notenoughupdates@[2.1.1,);"; + public static Features feature; -- cgit