Asleeepp / skript-itemsadder

GNU General Public License v3.0
7 stars 1 forks source link

[BUG] event-items not working in plural #11

Closed DRAGNIL68 closed 5 months ago

DRAGNIL68 commented 5 months ago

Describe the bug when i try and check if a player right clicks on more than 1 custom item it just refuses to work on right click: if event-item is customitem "namespace:item": send "test" to player

To Reproduce Steps to reproduce the behavior:

  1. copy the code above
  2. try and right click on more than 1 custom item

Expected behavior if i have more than 1 of a custom item in one slot in my inventory it will not register it but if a only have 1 it works fine

Server Version (/version):

Skript and skript-itemadder version:

Additional context I'm not really sure if this is your plugin or IA if it is IA i apologize for wasting your time.

DRAGNIL68 commented 5 months ago

i have no clue why the code didn't format correctly image

Asleeepp commented 5 months ago

i have no clue why the code didn't format correctly

image

Ok so, number one you are using the syntax wrong, and number two you arent even using namespace:id in this screenshot, can you correct it, and tell me if you still encounter this issue?

DRAGNIL68 commented 5 months ago

yep sorry for that i did test it with a namespace. But to answer you question no it still doesn't work if i use a namespace

Asleeepp commented 5 months ago

You are still using the wrong syntax

DRAGNIL68 commented 5 months ago

image this is what i meant i have basically never submitted a bug report so I'm not verry good at it. i am 99% sure that is correct yes?

Asleeepp commented 5 months ago

image this is what i meant i have basically never submitted a bug report so I'm not verry good at it. i am 99% sure that is correct yes?

brother, please read the docs before sending a new comment.

https://skripthub.net/docs/?id=11302

DRAGNIL68 commented 5 months ago

i could have sworn that 1-2 months ago it stated customitem. I am verry sorry for wasting your time