Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
SPIGOT-2752: Fix resetMaxHealth
Dieser Commit ist enthalten in:
Ursprung
709783c131
Commit
33071ecfff
@ -117,7 +117,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||
}
|
||||
|
||||
public void resetMaxHealth() {
|
||||
setMaxHealth(getHandle().getMaxHealth());
|
||||
setMaxHealth(getHandle().getAttributeInstance(GenericAttributes.maxHealth).getAttribute().b()); // PAIL: getDefault
|
||||
}
|
||||
|
||||
public double getEyeHeight() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren