BUGFIX: Damage events should be using getDamage() to set damage.

This commit is contained in:
Andrew Ardill
2011-02-28 17:43:56 +11:00
parent 41fea9b40e
commit 76d8016b32
2 changed files with 5 additions and 2 deletions

View File

@@ -370,6 +370,8 @@ public abstract class EntityHuman extends EntityLiving {
if (event.isCancelled()) {
return false;
}
i = event.getDamage();
}
// CraftBukkit end