Skip to content

Commit

Permalink
Merge pull request #901 from TonytheMacaroni/main
Browse files Browse the repository at this point in the history
Pass spell data when playing trail effects
  • Loading branch information
Chronoken committed Jun 4, 2024
2 parents f35ff91 + 8060304 commit eb5189a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/com/nisovin/magicspells/Spell.java
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ protected void playSpellEffects(SpellData data) {
if (caster != null && location != null) {
playSpellEffects(EffectPosition.START_POSITION, caster, data);
playSpellEffects(EffectPosition.END_POSITION, location, data);
playSpellEffectsTrail(caster.getLocation(), location);
playSpellEffectsTrail(caster.getLocation(), location, data);
}
}

Expand Down

0 comments on commit eb5189a

Please sign in to comment.