mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
BUGFIX: Damage events should be using getDamage() to set damage.
This commit is contained in:
@@ -370,6 +370,8 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
if (event.isCancelled()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
i = event.getDamage();
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
|
Reference in New Issue
Block a user