mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-02 05:02:10 -07:00
Enable spigot obfuscation support (#12695)
This commit is contained in:
@@ -21,7 +21,7 @@ c net/minecraft/world/level/chunk/LevelChunk net/minecraft/world/level/chunk/Chu
|
||||
|
||||
# See mappings-patch.tiny
|
||||
c net/minecraft/server/level/ChunkMap net/minecraft/server/level/PlayerChunkMap
|
||||
f Lnet/minecraft/server/level/ChunkMap$ChunkDistanceManager; distanceManager G
|
||||
f Lnet/minecraft/server/level/ChunkMap$ChunkDistanceManager; distanceManager H
|
||||
|
||||
# The method is made public by Spigot, which then causes accidental overrides
|
||||
c net/minecraft/world/entity/Entity net/minecraft/world/entity/Entity
|
||||
|
@@ -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(
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user