Skip to content

Commit

Permalink
fix: REI common API
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Oct 24, 2024
1 parent a420f07 commit 2b454b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ dependencies {
12102 to null,
)
val reiFallback = "16.0.783"
modCompileOnly("me.shedaniel:RoughlyEnoughItems-api:${reiVersions[mcVersion] ?: reiFallback}")
// Use the full package instead of 'api-' for (neo)forge, since the 'api-' didn't include @REIPlugin*
modCompileOnly("me.shedaniel:RoughlyEnoughItems-${if (isFabric) "api-fabric" else if (!isNeo) "forge" else "neoforge"}:${reiVersions[mcVersion] ?: reiFallback}")
if (mcVersion >= 12002) { // FIXME: Not sure why it's not included
Expand Down

0 comments on commit 2b454b2

Please sign in to comment.