1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-03 21:37:28 +01:00

Fix Paper comments

This commit is contained in:
Nassim Jahnke 2021-11-24 10:20:21 +01:00
parent 1f77146c5c
commit aba531dd60

View file

@ -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