Skip to content

Commit 5e6568b

Browse files
committed
Fix mixin extras on neoforge
1 parent b9d6687 commit 5e6568b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ dependencies {
100100
optionalProp("deps.mixinExtras") {
101101
if (isForgeLike) {
102102
compileOnly(annotationProcessor("io.github.llamalad7:mixinextras-common:$it")!!)
103-
implementation(include("io.github.llamalad7:mixinextras-forge:$it")!!)
103+
if (isNeoforge) {
104+
implementation(include("io.github.llamalad7:mixinextras-neoforge:$it")!!)
105+
} else {
106+
implementation(include("io.github.llamalad7:mixinextras-forge:$it")!!)
107+
}
104108
} else {
105109
include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:$it")!!)!!)
106110
}

settings.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ stonecutter {
3232
mc("1.20.6", loaders = listOf("fabric", "neoforge"))
3333
mc("1.20.4", loaders = listOf("fabric", "neoforge"))
3434
mc("1.20.1", loaders = listOf("fabric"))
35+
36+
vcsVersion = "1.21.3-fabric"
3537
}
3638
}
3739

0 commit comments

Comments
 (0)