diff --git a/patches/server/implement-optional-per-player-mob-spawns.patch b/patches/server/implement-optional-per-player-mob-spawns.patch index 6908a45ea..faae7fc5f 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