aboutsummaryrefslogtreecommitdiff
path: root/forge
diff options
context:
space:
mode:
Diffstat (limited to 'forge')
-rw-r--r--forge/build.gradle4
-rw-r--r--forge/src/main/java/me/shedaniel/rei/forge/PrimitivePlatformAdapterImpl.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/forge/build.gradle b/forge/build.gradle
index 33df86eb4..811d03a71 100644
--- a/forge/build.gradle
+++ b/forge/build.gradle
@@ -215,6 +215,10 @@ publishing {
builtBy remapSrgSourcesJar
classifier "sources"
}
+
+ // Hack to inherit the dependencies without inheriting the artifacts
+ publication.setArtifacts(publication.artifacts)
+ from components.java
}
}
}
diff --git a/forge/src/main/java/me/shedaniel/rei/forge/PrimitivePlatformAdapterImpl.java b/forge/src/main/java/me/shedaniel/rei/forge/PrimitivePlatformAdapterImpl.java
index e69855315..d4db2f068 100644
--- a/forge/src/main/java/me/shedaniel/rei/forge/PrimitivePlatformAdapterImpl.java
+++ b/forge/src/main/java/me/shedaniel/rei/forge/PrimitivePlatformAdapterImpl.java
@@ -23,7 +23,6 @@
package me.shedaniel.rei.forge;
-import me.shedaniel.rei.RoughlyEnoughItemsState;
import me.shedaniel.rei.impl.init.PrimitivePlatformAdapter;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.fml.ModList;
@@ -39,9 +38,6 @@ public class PrimitivePlatformAdapterImpl implements PrimitivePlatformAdapter {
@Override
public void checkMods() {
- if (ModList.get().isLoaded("moreoverlays")) {
- RoughlyEnoughItemsState.error("REI is not compatible with MoreOverlays, and actually contains Builtin Inventory Highlighting, other features can be installed via different mods!");
- }
}
@Override