From aba531dd60434929103c97b3768ae407a1ea3a39 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Wed, 24 Nov 2021 10:20:21 +0100 Subject: [PATCH] Fix Paper comments --- patches/server/implement-optional-per-player-mob-spawns.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/server/implement-optional-per-player-mob-spawns.patch b/patches/server/implement-optional-per-player-mob-spawns.patch index 6908a45ea8..faae7fc5f8 100644 --- a/patches/server/implement-optional-per-player-mob-spawns.patch +++ b/patches/server/implement-optional-per-player-mob-spawns.patch @@ -666,9 +666,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } object2intopenhashmap.addTo(enumcreaturetype, 1); ++ // Paper start + if (countMobs) { + chunk.level.getChunkSource().chunkMap.updatePlayerMobTypeMap(entity); + } ++ // Paper end }); } } @@ -721,7 +723,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - NaturalSpawner.spawnCategoryForPosition(group, world, chunk, blockposition, checker, runner); + return NaturalSpawner.spawnCategoryForPosition(group, world, chunk, blockposition, checker, runner, maxSpawns, trackEntity); // Paper } -+ return 0; // paper ++ return 0; // Paper } @VisibleForDebug