mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
BUGFIX: Damage events should be using getDamage() to set damage.
This commit is contained in:
1 parent
41fea9b40e
commit
76d8016b32
2 files changed
+5
-2
No files matched your search
@@ -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