From 40d8a8ad7869332f1087d24326ed5b7c32ebf8fd Mon Sep 17 00:00:00 2001 From: shedaniel Date: Mon, 29 Mar 2021 21:35:20 +0800 Subject: Publish REI 6 to Forge Signed-off-by: shedaniel --- .../java/me/shedaniel/rei/forge/RoughlyEnoughItemsInitializerImpl.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'forge/src/main/java/me') diff --git a/forge/src/main/java/me/shedaniel/rei/forge/RoughlyEnoughItemsInitializerImpl.java b/forge/src/main/java/me/shedaniel/rei/forge/RoughlyEnoughItemsInitializerImpl.java index b6ce353b2..a433c87a5 100644 --- a/forge/src/main/java/me/shedaniel/rei/forge/RoughlyEnoughItemsInitializerImpl.java +++ b/forge/src/main/java/me/shedaniel/rei/forge/RoughlyEnoughItemsInitializerImpl.java @@ -34,6 +34,9 @@ public class RoughlyEnoughItemsInitializerImpl { } public static void checkMods() { + if (ModList.get().isLoaded("jei")) { + RoughlyEnoughItemsState.error("JEI is installed! REI is an replacement of JEI, we can't co-exist!"); + } if (isClient()) { if (!ModList.get().isLoaded("cloth-config")) { RoughlyEnoughItemsState.error("Cloth Config is not installed!", "https://www.curseforge.com/minecraft/mc-mods/cloth-config/files/all"); -- cgit