aboutsummaryrefslogtreecommitdiffhomepage
path: root/build-data
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2021-11-27 21:52:29 +0100
committerMiniDigger | Martin <[email protected]>2021-11-30 19:26:33 +0100
commit8c78a82906c76c8545548f2656474dd3fca1171b (patch)
tree92c19cb0c07899999ba11683eef216e952af46ac /build-data
parenta461ff8d07d291fbdb24005f1aa9d6db0fde0eb5 (diff)
downloadPaper-8c78a82906c76c8545548f2656474dd3fca1171b.tar.gz
Paper-8c78a82906c76c8545548f2656474dd3fca1171b.zip
Cleanup unnecessary hopper optimization diff
Fixes #6941
Diffstat (limited to 'build-data')
-rw-r--r--build-data/reobf-mappings-patch.tiny6
1 files changed, 0 insertions, 6 deletions
diff --git a/build-data/reobf-mappings-patch.tiny b/build-data/reobf-mappings-patch.tiny
index 67e82310b4..f39f29c500 100644
--- a/build-data/reobf-mappings-patch.tiny
+++ b/build-data/reobf-mappings-patch.tiny
@@ -23,9 +23,3 @@ c net/minecraft/world/level/chunk/LevelChunk net/minecraft/world/level/chunk/Chu
# Paper changes type
c net/minecraft/core/MappedRegistry net/minecraft/core/RegistryMaterials
f Lit/unimi/dsi/fastutil/objects/Reference2IntOpenHashMap; toId bA
-
-# We add the getLevel method back to Hopper since mojang removed it - we need the method for hopper optimization
-# We add the method with this name to match the mojmap method of the same name in BlockEntity
-# Since we add the method we need to add the mapping for it so reobf works as expected
-c net/minecraft/world/level/block/entity/Hopper net/minecraft/world/level/block/entity/IHopper
- m ()Lnet/minecraft/world/level/Level; getLevel W