3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 14:50:08 +01:00
Paper/src/main/java
Travis Watkins 9973e7cdec Update entity state correctly when marked as persistent. Fixes BUKKIT-3123
When a mob is marked with the persistent flag (animal or anything with
setRemoveWhenFarAway(false)) the entire block of code for checking if they
should be despawned is skipped. However, one part of this code updates the
mob state if a player is close enough to them. It turns out this state is
used by the AI system to decide if the mob should move around randomly or
not. To stop mobs from being frozen in place we now update this state if
the persistent flag is set as well.
2012-12-07 21:18:51 -06:00
..
jline Use jansi's Windows support for terminal colors. 2012-05-23 15:32:42 -05:00
net/minecraft/server Update entity state correctly when marked as persistent. Fixes BUKKIT-3123 2012-12-07 21:18:51 -06:00
org/bukkit/craftbukkit Provide a faster way to get a location. Adds BUKKIT-3120 2012-12-07 21:15:05 -06:00