event-location does not work on spawn event of a mob (Last worked for me in skript 2.5 alpha 4) #3622
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
event-location doesn't work with on spawn event of a mob (Last worked for me in 2.5 alpha 4)
Steps to Reproduce
Use any code that uses event-location with an on spawn event, this one is enough:
on spawn of a mob:
message "%event-location%" to all players
Expected Behavior
event-location returns what it's supposed to return. Instead, it's returning an error message
Errors / Screenshots
Error in console + no output in-game
https://i.imgur.com/E7qz7H6.png
https://i.imgur.com/PG6wPG9.png
Server Information
Server Version: Paper 1.15.2 Build 334
Skript: Release 2.5.2
Additional Context
Tested the bug with no addons, same result
The text was updated successfully, but these errors were encountered: