Fix Ticking Ability Crash

This commit is contained in:
Kam committed 2026-03-07 15:12:47 -05:00
1 parent e6ad49327a
commit f8ed7cfe19
1 file changed
+3
@@ -785,6 +785,9 @@ public abstract class AbstractDataAbilities {
// Fire tick event
fireTickEvent(currentAbility, target);
// Script may have completed/cancelled the ability during the tick event
if (currentAbility == null || !currentAbility.isExecuting()) return;
// Fire extender tick hook (e.g., per-tick resource drain)
if (!AbilityController.Instance.fireOnAbilityTick(currentAbility, entity, target,
currentAbility.getPhase(), currentAbility.getCurrentTick())) {