13
0
geforkt von Mirrors/Paper
Datei suchen
CraftBukkit/Spigot ccaef1ea05 Fixed CraftLivingEntity.damage when the entity is an EntityComplex.
Fixes BUKKIT-589: if you call damage on an instance of EnderDragon, no damage
is done.

Reason for bug: damage calls Entity.damageEntity.  But EntityComplex
overrides damageEntity to do nothing.

Fix: CraftComplexLiving should call EntityComplex.e instead of
Entity.damageEntity.  e is the method that actually does damage to an
instance of EntityComplex.

By: Sam Wilson <sam.wilson@gmail.com>
2012-01-23 22:04:18 -08:00
paper-server Fixed CraftLivingEntity.damage when the entity is an EntityComplex. 2012-01-23 22:04:18 -08:00