Enable spigot obfuscation support (#12695)
This commit is contained in:
parent
4b3f967e49
commit
a7dd263566
3 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue