diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-03-29 21:35:20 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-03-29 21:35:20 +0800 |
| commit | 40d8a8ad7869332f1087d24326ed5b7c32ebf8fd (patch) | |
| tree | 89b246a6d5140e4747585122b6c37da28a559749 /forge/src/main/java/me | |
| parent | 096a01c606f491f2bb7a07c3df8ac83f6d313086 (diff) | |
| download | RoughlyEnoughItems-40d8a8ad7869332f1087d24326ed5b7c32ebf8fd.tar.gz RoughlyEnoughItems-40d8a8ad7869332f1087d24326ed5b7c32ebf8fd.tar.bz2 RoughlyEnoughItems-40d8a8ad7869332f1087d24326ed5b7c32ebf8fd.zip | |
Publish REI 6 to Forge
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'forge/src/main/java/me')
| -rw-r--r-- | forge/src/main/java/me/shedaniel/rei/forge/RoughlyEnoughItemsInitializerImpl.java | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |
