mirror of
https://github.com/PaperMC/Folia.git
synced 2025-04-21 11:49:20 +08:00
We should only iterate over the local region's entities, not the global entity list to set up the spawner state, as everything else about the spawner state (player count / chunk count) is regionised. Additionally, move the last spawner state to regionised state so that paper mobcaps command functions as expected.