Fix: Geyser-NeoForge not booting due to duplicate module (#4922)

This commit is contained in:
chris 2024-07-31 19:21:29 +02:00 committed by GitHub
parent 13dfc7c173
commit 22c59c465f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View file

@ -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
@ -67,4 +64,4 @@ modrinth {
dependencies {
required.project("fabric-api")
}
}
}

View file

@ -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()
@ -56,4 +57,4 @@ tasks {
modrinth {
loaders.add("neoforge")
uploadFile.set(tasks.getByPath("remapModrinthJar"))
}
}