aboutsummaryrefslogtreecommitdiffhomepage
path: root/build-data
diff options
context:
space:
mode:
authorJason <[email protected]>2021-07-04 09:30:59 -0700
committerGitHub <[email protected]>2021-07-04 17:30:59 +0100
commitcc063e1f09c116c9fc9786b40f7c36577a6a7264 (patch)
tree4be43a6ffb7896fd40a2b114df6d5a108acdf0cc /build-data
parent2641b913505d3fb6f4e4a7a08944d5830389bc5d (diff)
downloadPaper-cc063e1f09c116c9fc9786b40f7c36577a6a7264.tar.gz
Paper-cc063e1f09c116c9fc9786b40f7c36577a6a7264.zip
Fix incorrect variable usage in per-player mob spawning patch (#6077)
Diffstat (limited to 'build-data')
-rw-r--r--build-data/mappings-patch.tiny4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-data/mappings-patch.tiny b/build-data/mappings-patch.tiny
index eb16ed426e..d54ddf3d34 100644
--- a/build-data/mappings-patch.tiny
+++ b/build-data/mappings-patch.tiny
@@ -25,6 +25,10 @@ c net/minecraft/world/entity/projectile/EntityTippedArrow net/minecraft/world/en
c net/minecraft/server/level/WorldServer net/minecraft/server/level/ServerLevel
m (Lnet/minecraft/server/level/WorldServer;Lnet/minecraft/world/entity/Entity;)V a makeObsidianPlatform
+# CraftBukkit adds limit param
+c net/minecraft/world/level/SpawnerCreature$d net/minecraft/world/level/NaturalSpawner$SpawnState
+ m (Lnet/minecraft/world/entity/EnumCreatureType;I)Z a canSpawnForCategory
+
# missed mapping?
c net/minecraft/world/level/block/MultifaceBlock net/minecraft/world/level/block/MultifaceBlock
m (Lnet/minecraft/world/level/block/state/IBlockData;Lnet/minecraft/world/level/IBlockAccess;Lnet/minecraft/core/BlockPosition;Lnet/minecraft/core/EnumDirection;)Lnet/minecraft/world/level/block/state/IBlockData; c getStateForPlacement