execute if predicate manic:entity/spectre/nametag/nametag run function manic:entity/technical/spectre/nametag/persistent
execute if entity @s[type=minecraft:phantom] if data entity @s CustomName run function manic:entity/technical/spectre/nametag/persistent
