3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00

SPIGOT-2752: Fix resetMaxHealth

Dieser Commit ist enthalten in:
md_5 2016-11-04 18:11:36 +11:00
Ursprung 709783c131
Commit 33071ecfff

Datei anzeigen

@ -117,7 +117,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
} }
public void resetMaxHealth() { public void resetMaxHealth() {
setMaxHealth(getHandle().getMaxHealth()); setMaxHealth(getHandle().getAttributeInstance(GenericAttributes.maxHealth).getAttribute().b()); // PAIL: getDefault
} }
public double getEyeHeight() { public double getEyeHeight() {