Enable spigot obfuscation support (#12695)

This commit is contained in:
Bjarne Koll
2025-06-20 23:11:33 +02:00
committed by GitHub
parent 4b3f967e49
commit a7dd263566
3 changed files with 5 additions and 5 deletions

View File

@ -25,9 +25,9 @@ paperweight {
gitFilePatches = false
spigot {
enabled = false
buildDataRef = "702e1a0a5072b2c4082371d5228cb30525687efc"
packageVersion = "v1_21_R4" // also needs to be updated in MappingEnvironment
enabled = true
buildDataRef = "281ac0de7a76d808753ede97d11b034bc801b63d"
packageVersion = "v1_21_R5" // also needs to be updated in MappingEnvironment
}
reobfPackagesToFix.addAll(

View File

@ -11,7 +11,7 @@ import org.checkerframework.framework.qual.DefaultQualifier;
@DefaultQualifier(NonNull.class)
public final class MappingEnvironment {
public static final boolean DISABLE_PLUGIN_REMAPPING = Boolean.getBoolean("paper.disablePluginRemapping");
public static final String LEGACY_CB_VERSION = "v1_21_R4";
public static final String LEGACY_CB_VERSION = "v1_21_R5";
private static final @Nullable String MAPPINGS_HASH = readMappingsHash();
private static final boolean REOBF = checkReobf();