Item damage event does not have an event-item value #2895
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
When using the item damage event, Skript says the event has no item stack.
Steps to Reproduce
simple code:
results in the following error:
now the weird thing is, after writing some random code it started working.
I set up a new server, and it doesn't work on the new server. And I for the life of me cant figure out how I made it work.
Things get weirder. If I run SkriptHub's docs tool on the servers:
New Server:
Old Server:
Skript knows it exists.
This has literally got my mind baffled.
Expected Behavior
There should be an event-value
Errors / Screenshots
see above
Server Information
Additional Context
I can easily fix this by adding an event-value to the code.
PR coming soon.
The text was updated successfully, but these errors were encountered: