aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-03-21 12:23:14 +0800
committershedaniel <daniel@shedaniel.me>2021-03-21 12:23:14 +0800
commit7c4788f86f589d71b319e186fa5d8a468046bcc1 (patch)
treeb87fd23a6d65a96e381c27fe0470d1f50e77a635 /runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java
parent2c29cac8a5e0878696c8e6635f4e41ed4845b41c (diff)
downloadRoughlyEnoughItems-7c4788f86f589d71b319e186fa5d8a468046bcc1.tar.gz
RoughlyEnoughItems-7c4788f86f589d71b319e186fa5d8a468046bcc1.tar.bz2
RoughlyEnoughItems-7c4788f86f589d71b319e186fa5d8a468046bcc1.zip
Rely on ScreenRegistry more on calculating the bounds
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java
index dfe52a3a2..e817493be 100644
--- a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java
+++ b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInitializer.java
@@ -105,6 +105,9 @@ public class RoughlyEnoughItemsInitializer {
}
public static void checkClothConfig() {
+ if (!Platform.isModLoaded(Platform.isFabric() ? "cloth-config2" : "cloth-config")) {
+ RoughlyEnoughItemsState.error("Cloth Config is not installed!", "https://www.curseforge.com/minecraft/mc-mods/cloth-config/files/all");
+ }
/*try {
if (!Platform.isModLoaded("cloth-config2")) {
RoughlyEnoughItemsState.error("Cloth Config is not installed!", "https://www.curseforge.com/minecraft/mc-mods/cloth-config/files/all");