SPIGOT-1991: Further damage fixes
Dieser Commit ist enthalten in:
Ursprung
b3f6de0da5
Commit
549962feaf
@ -489,11 +489,11 @@
|
||||
this.getCombatTracker().trackDamage(damagesource, f2, f);
|
||||
- this.setAbsorptionHearts(this.getAbsorptionHearts() - f);
|
||||
+ // CraftBukkit start
|
||||
+ if (human) {
|
||||
+ return true;
|
||||
+ if (!human) {
|
||||
+ this.setAbsorptionHearts(this.getAbsorptionHearts() - f);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+ this.setAbsorptionHearts(this.getAbsorptionHearts() - f);
|
||||
+ return true;
|
||||
+ } else {
|
||||
+ return false;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren