Skip to content

Commit

Permalink
fix: Add trackers
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperLorelai committed Feb 1, 2024
1 parent 6be301a commit f7d17f5
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ public class OrbitSpell extends TargetedSpell implements TargetedEntitySpell, Ta
private final ConfigData<Boolean> counterClockwise;
private final ConfigData<Boolean> requireEntityTarget;

private String orbitSpellName;
private String groundSpellName;
private String entitySpellName;
private final String orbitSpellName;
private final String groundSpellName;
private final String entitySpellName;

private Subspell orbitSpell;
private Subspell groundSpell;
Expand Down Expand Up @@ -257,6 +257,8 @@ private OrbitTracker(SpellData data) {

if (data.hasTarget()) playSpellEffects(data.caster(), data.target(), data);
else playSpellEffects(data.caster(), currentLocation, data);

trackerSet.add(this);
}

@Override
Expand Down

0 comments on commit f7d17f5

Please sign in to comment.