So i have this code
And i want it for a soulbind skript for 1.21.4 and for some reason it just never gets past the line that checks for the lore
Code:
# Prevent moving into containers
on inventory click:
if lore of clicked cursor contains "&9Soulbound to &7":
send "&7[DEBUG] Soulbound item detected on clicked cursor." to event-player
if clicked inventory is not event-player's inventory:
cancel event
send "&cYou can't store soulbound items!" to event-player