When I spawn the zombie it will spawn normally and proceed to target a player and chase after it. It makes an effort to attack the player but doesnt do any damage. I cant figure out how to fix this issue and its been happening in a few different skripts of mine
code_language.skript:
on rightclick:
if player is holding a enchanted book with name "&d&lAlchemist Summoner" with lore "||&7Summons the &d&nAlchemist Boss":
if event-block is not air:
spawn a zombie 1 above event-block