From a46c7c22afef57af49f2f28c3f765c288d1be389 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:52:19 -0700 Subject: [PATCH] Opt-out of remapping on Paper 1.20.5+ All of our NMS usage is through reflection. --- .../src/main/kotlin/essentials.base-conventions.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts b/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts index de6196fd359..e1aef9f6f47 100644 --- a/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/essentials.base-conventions.gradle.kts @@ -75,6 +75,9 @@ tasks { } withType { archiveVersion.set(rootProject.ext["FULL_VERSION"] as String) + manifest { + attributes("paperweight-mappings-namespace" to "mojang") + } } withType { onlyIf { project.hasProperty("forceSign") }