Skript not understanding item names

  • 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!

Status
Not open for further replies.

pendar7

Member
Dec 31, 2021
4
0
1
21
After updating my skript plugin to the most recent version, all of my skripts that deal with interacting with items with different names no longer work.

Example:

Code:
on right click:
if player is holding stick named "&eTest1":
send "Hello 1" to the player

on right click:
if player is holding stick named "&eTest2":
send "Hello 2" to the player

So previously, before experiencing this issue, the code would work when it was supposed to, but now when right clicking any of those sticks, whether they were named or not, it would perform all actions that are linked to right clicking sticks no matter the name of the item.

So... It would be like:

- Player right clicks stick
- Both chat messages get sent
 
But is there a reason why the Skript example I provided no longer works? It has before.
 
Status
Not open for further replies.