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
|
# See mappings-patch.tiny
|
||||||
c net/minecraft/server/level/ChunkMap net/minecraft/server/level/PlayerChunkMap
|
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
|
# The method is made public by Spigot, which then causes accidental overrides
|
||||||
c net/minecraft/world/entity/Entity net/minecraft/world/entity/Entity
|
c net/minecraft/world/entity/Entity net/minecraft/world/entity/Entity
|
||||||
|
@@ -25,9 +25,9 @@ paperweight {
|
|||||||
gitFilePatches = false
|
gitFilePatches = false
|
||||||
|
|
||||||
spigot {
|
spigot {
|
||||||
enabled = false
|
enabled = true
|
||||||
buildDataRef = "702e1a0a5072b2c4082371d5228cb30525687efc"
|
buildDataRef = "281ac0de7a76d808753ede97d11b034bc801b63d"
|
||||||
packageVersion = "v1_21_R4" // also needs to be updated in MappingEnvironment
|
packageVersion = "v1_21_R5" // also needs to be updated in MappingEnvironment
|
||||||
}
|
}
|
||||||
|
|
||||||
reobfPackagesToFix.addAll(
|
reobfPackagesToFix.addAll(
|
||||||
|
@@ -11,7 +11,7 @@ import org.checkerframework.framework.qual.DefaultQualifier;
|
|||||||
@DefaultQualifier(NonNull.class)
|
@DefaultQualifier(NonNull.class)
|
||||||
public final class MappingEnvironment {
|
public final class MappingEnvironment {
|
||||||
public static final boolean DISABLE_PLUGIN_REMAPPING = Boolean.getBoolean("paper.disablePluginRemapping");
|
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 @Nullable String MAPPINGS_HASH = readMappingsHash();
|
||||||
private static final boolean REOBF = checkReobf();
|
private static final boolean REOBF = checkReobf();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user