From 6f1a9ce33f3e1a9ac4f638578d2abd73a4b43adf Mon Sep 17 00:00:00 2001 From: "Joseph C. Sible" Date: Sun, 4 Nov 2018 18:24:14 -0500 Subject: [PATCH] Add a hard-dep on Forge 2694 (#2076) As of commit bfaae24, we'll crash on startup with earlier versions of Forge. --- src/main/java/com/raoulvdberge/refinedstorage/RS.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/RS.java b/src/main/java/com/raoulvdberge/refinedstorage/RS.java index c0630ad4e..377c80a59 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/RS.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/RS.java @@ -16,7 +16,7 @@ import net.minecraftforge.fml.common.event.*; import net.minecraftforge.fml.common.network.NetworkRegistry; import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper; -@Mod(modid = RS.ID, version = RS.VERSION, acceptedMinecraftVersions = "[1.12.2,1.13)", guiFactory = RS.GUI_FACTORY, updateJSON = RS.UPDATE_JSON, certificateFingerprint = RS.FINGERPRINT) +@Mod(modid = RS.ID, version = RS.VERSION, acceptedMinecraftVersions = "[1.12.2,1.13)", guiFactory = RS.GUI_FACTORY, updateJSON = RS.UPDATE_JSON, certificateFingerprint = RS.FINGERPRINT, dependencies = RS.DEPENDENCIES) public final class RS { static { FluidRegistry.enableUniversalBucket(); @@ -27,6 +27,7 @@ public final class RS { public static final String GUI_FACTORY = "com.raoulvdberge.refinedstorage.gui.config.ModGuiFactory"; public static final String UPDATE_JSON = "https://refinedstorage.raoulvdberge.com/update"; public static final String FINGERPRINT = "57893d5b90a7336e8c63fe1c1e1ce472c3d59578"; + public static final String DEPENDENCIES = "after:forge@[14.23.3.2694,);"; @SidedProxy(clientSide = "com.raoulvdberge.refinedstorage.proxy.ProxyClient", serverSide = "com.raoulvdberge.refinedstorage.proxy.ProxyCommon") public static ProxyCommon PROXY;