Skip to content

Commit

Permalink
Fix: Geyser-NeoForge not booting due to duplicate module (GeyserMC#4922)
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris authored Jul 31, 2024
1 parent 13dfc7c commit 22c59c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions bootstrap/mod/fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ dependencies {
shadow(libs.protocol.connection) { isTransitive = false }
shadow(libs.protocol.common) { isTransitive = false }
shadow(libs.protocol.codec) { isTransitive = false }
shadow(libs.minecraftauth) { isTransitive = false }
shadow(libs.raknet) { isTransitive = false }

// Consequences of shading + relocating mcauthlib: shadow/relocate mcpl!
shadow(libs.mcprotocollib) { isTransitive = false }

// Since we also relocate cloudburst protocol: shade erosion common
Expand Down Expand Up @@ -67,4 +64,4 @@ modrinth {
dependencies {
required.project("fabric-api")
}
}
}
3 changes: 2 additions & 1 deletion bootstrap/mod/neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
// This is provided by "org.cloudburstmc.math.mutable" too, so yeet.
// NeoForge's class loader is *really* annoying.
provided("org.cloudburstmc.math", "api")
provided("com.google.errorprone", "error_prone_annotations")

architectury {
platformSetupLoomIde()
Expand Down Expand Up @@ -56,4 +57,4 @@ tasks {
modrinth {
loaders.add("neoforge")
uploadFile.set(tasks.getByPath("remapModrinthJar"))
}
}

0 comments on commit 22c59c4

Please sign in to comment.