can anyone help me i get the error that i can't save a projectile because if the server stops the entity will be lost
Code:
on shoot:
if projectile exists:
if "%projectile%" is "ender pearl":
execute console command "minecraft:Kill @e[type=ArmorStand,name=Failure's Head]"
# add projectile to {EnderPearl.DeathOfPlayer.more::%Shooter%}
if {EnderPearl.DeathOfPlayer::%Shooter%} is set:
teleport {EnderPearl.DeathOfPlayer::%Shooter%} to location at 0, -65, 0
wait 3 ticks
delete {EnderPearl.DeathOfPlayer::%Shooter%}
wait 4 ticks
set {EnderPearl.DeathOfPlayer::%Shooter%} to the projectile