aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2021-12-22 14:18:58 +0100
committerNassim Jahnke <[email protected]>2021-12-22 14:18:58 +0100
commit6e5ceb34eb2ef4d6c0a35c46d0eded9099bb2fee (patch)
tree68e1d2ecf07209bd55f8fb0aabde62761dd0663c
parent10bfb63f6c027158e21ae769270dd22b2abf88d1 (diff)
downloadPaper-6e5ceb34eb2ef4d6c0a35c46d0eded9099bb2fee.tar.gz
Paper-6e5ceb34eb2ef4d6c0a35c46d0eded9099bb2fee.zip
Fix ChunkMap distanceManager field reobf
Not the most ideal, but works for now
-rw-r--r--build-data/reobf-mappings-patch.tiny4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-data/reobf-mappings-patch.tiny b/build-data/reobf-mappings-patch.tiny
index f39f29c500..3f1d53cd4b 100644
--- a/build-data/reobf-mappings-patch.tiny
+++ b/build-data/reobf-mappings-patch.tiny
@@ -19,6 +19,10 @@ c net/minecraft/server/level/ServerLevel net/minecraft/server/level/WorldServer
c net/minecraft/world/level/chunk/LevelChunk net/minecraft/world/level/chunk/Chunk
f Lnet/minecraft/server/level/ServerLevel; level q
+# See mappings-patch.tiny
+c net/minecraft/server/level/ChunkMap net/minecraft/server/level/PlayerChunkMap
+ f Lnet/minecraft/server/level/ChunkMap$ChunkDistanceManager; distanceManager D
+
# 1.18 todo: verify paper still changes this
# Paper changes type
c net/minecraft/core/MappedRegistry net/minecraft/core/RegistryMaterials