Refactor to Cleaner Class Setup

This commit is contained in:
Kam committed 2026-01-29 14:19:57 -05:00
1 parent 55658a7956
commit 38c0519c0a
18 files changed
+874 -1213

No files matched your search

@@ -1934,6 +1934,13 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
if (NPCMountUtil.isFlyingMountWithFlightEnabled(this)) {
return;
}
// Skip fall damage during abilities that control NPC movement (e.g., Slam leap)
if (this.abilities != null && this.abilities.isExecutingAbility()
&& this.abilities.getCurrentAbility() != null
&& this.abilities.getCurrentAbility().hasAbilityMovement()) {
this.fallDistance = 0;
return;
}
if (!this.stats.noFallDamage)
super.fall(distance);
}