diff options
author | feildmaster <admin@feildmaster.com> | 2012-12-26 19:07:47 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-12-27 21:05:40 -0600 |
commit | 509e3d2a328273b08e3a203023b117ad120b31dd (patch) | |
tree | 5e73db383bf32f0a84c4a0cef13f2917c45d4d5a /src/main/java/net/minecraft/server/EntityMagmaCube.java | |
parent | b908c192bfafe568131a018d8a961b0e7f8e43ee (diff) | |
download | craftbukkit-509e3d2a328273b08e3a203023b117ad120b31dd.tar craftbukkit-509e3d2a328273b08e3a203023b117ad120b31dd.tar.gz craftbukkit-509e3d2a328273b08e3a203023b117ad120b31dd.tar.lz craftbukkit-509e3d2a328273b08e3a203023b117ad120b31dd.tar.xz craftbukkit-509e3d2a328273b08e3a203023b117ad120b31dd.zip |
Update maxhealth for entities that have variable max health. Fixes BUKKIT-3308
Slimes and wolves have health that can change based on certain
conditions. So we check if their max health should be updated, and if
it has been customized in any way.
We also scale the wolf's health for their tail
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMagmaCube.java')
0 files changed, 0 insertions, 0 deletions