SPIGOT-2752: Fix resetMaxHealth
This commit is contained in:
parent
709783c131
commit
33071ecfff
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user