From c55715a1b415d7922e3f0b3fdf25b5c80c6ab9c5 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Wed, 22 Dec 2021 14:18:58 +0100 Subject: [PATCH] Fix ChunkMap distanceManager field reobf Not the most ideal, but works for now --- build-data/reobf-mappings-patch.tiny | 4 ++++ 1 file changed, 4 insertions(+) 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