Hello, im making custom enchantments and seem to be having a little issue. I updated skript to 2.4, and now i cant check the lore of a player;s held item. I tried "If lore of player's held item contains "&cExplosive":" but it wont read it. Ive tried many many different things, and cant get it to work. It will work if i chose the exact line of the lore i want. "if line 1 of lore of player's held item contains "&cExplosive":" that works. But i need a way to check all the lore lines. How can i do this with 2.4? I also have this now, and it doesnt work.
Thanks!
~Matt
EDIT:
I updated to 2.4.1 and same issue.
Thanks!
~Matt
Code:
on mine:
set {_lore::*} to lore of tool of player
if {_lore::*} contains colored "&cExplosive 1":
send "test" to player
EDIT:
I updated to 2.4.1 and same issue.
Last edited: