#"Item" in a function
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
set line 1 of lore of {_i} to "test text"
command /i-love-men:
permission: debug.debug
trigger:
updateItem(player's held item)```
this code returns no errors, but if i run the command /i-love-men the lore of my held item won't update.
oh i almost forgot the plugins i use:
Skript (duh)
SkBee
?
{_i} is just the exact same item as the one you're holding but skript wont update the one you're holding because of that
better to just do function updateItem(p: player): and set {_p}'s tool lore
yea thats probably what i should do