mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-06 00:32:59 +01:00
fix: armor stand no fall damage
This commit is contained in:
1 parent
98d6a83213
commit
6828811ca3
2 files changed
+6
No files matched your search
@@ -371,6 +371,11 @@ void ArmorStand::causeDamage(float damage)
|
||||
}
|
||||
}
|
||||
|
||||
void ArmorStand::checkFallDamage(double ya, bool onGround)
|
||||
{
|
||||
fallDistance = 0.0f;
|
||||
}
|
||||
|
||||
bool ArmorStand::hurt(DamageSource* source, float damage)
|
||||
{
|
||||
if (isInvulnerable() || level->isClientSide || removed || isMarker()) return false;
|
||||
|
||||
Reference in new issue
Block a user