Solved Detect custom items

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

_PAPER_PLANE_

Member
Jan 21, 2022
41
0
6
Is this a bug?
After updating from Skript 2.6.4 to 2.7.1, I can no longer detect custom named items.


Code:
command /getaxe:
    trigger:
        give player golden axe named "&6Super axe"

on break of any log:
    if tool of player is golden axe named "&6Super axe"
    send "ok" to player
 
Code:
command /getaxe:
    trigger:
        give player golden axe named "&6Super axe"
on break of any log:
    name of player's tool is "&6Super axe":
        send "ok" to player
 
  • Like
Reactions: _PAPER_PLANE_