Fireball does not have motion data when summoned from right click detection
I am repurposing all the functions from this datapack/video https://www.youtube.com/watch?v=M34zpaw5OKY (datapack linked in desc.), and copied all the funcitons/advancements from the datapack into mine, only replacing the namespace to match my datapack and the custom data detection to a different name.
When i test the tutorial datapack in a world, it works as intended, summoning the fireball, and it moving in the direction of the crosshair. However, when i test the functionality when it is the combined datapack, it summons the fireball, but it has no velocity/doesnt move until hit.
I am trying to figure out why it does not work and hopefully how to fix it.
(screenshot is from the function i believe is not working correctly)