Error: Can't understand this event
Code:
on armor equip:
if lore of event-item contains "&6&lCrown":
trigger:
set player's max health to 40
set player's health to 40
Code:
on armor equip:
if lore of event-item contains "&6&lCrown":
trigger:
set player's max health to 40
set player's health to 40