W takim razie zrobimy debuga.
on inventory click:
send "", "Type: %type of clicked inventory%", "Clicked slot: %clicked slot% - %index of clicked slot%", "Type2: %type of event-slot%", "Type3: %type of slot 1 of player's current inventory%" and "" to player
type of clicked inventory is anvil inventory
send "1" to player
clicked slot is 2
send "2" to player
type of event-slot is fishing rod
send "3" to player
type of slot 1 of player's current inventory is enchanted book
send "4" to player
cancel event
send "&cNie możesz tego zrobić!" to player
Użyj tego kodu i pokaż co zostanie wysłane na czacie.