3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 04:50:06 +01:00
Paper/src/main
Travis Watkins 5409d05d3a Ensure animals don't despawn due to old default setting.
The old default for the persistent flag on mobs was false which was then
written out to their NBT data when they were saved. We now use this data
for all mobs, not just non-animal mobs. However, this means animals that
spawned before that change will now start despawning like monsters do.

To avoid this we add a new flag to the mob's saved data to mark if the
data was saved before or after we started using it and ignore it if it
was before.
2012-12-04 23:15:53 -06:00
..
java Ensure animals don't despawn due to old default setting. 2012-12-04 23:15:53 -06:00
resources/configurations Implement API for ambient mob spawn limit. Add spawn-limit.ambient to 2012-10-31 13:01:48 -04:00