on drop event not returning correct data type #2151
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Description
on drop event seems to not be returning an item stack, even though the event value is called
event-itemstack
Steps to Reproduce
Expected Behavior
event-itemstack
should be of data type item stackErrors / Screenshots
Line 5: The 1st argument given to the function 'f' is not of the required type item stack. Check the correct order of the arguments and put lists into parentheses if appropriate (e.g. 'give(player, (iron ore and gold ore))'). Please note that storing the value in a variable and then using that variable as parameter will suppress this error, but it still won't work. (test.sk, line 5: send f(event-itemstack)')
Server Information
The text was updated successfully, but these errors were encountered: