Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

event-location does not work on spawn event of a mob (Last worked for me in skript 2.5 alpha 4) #3622

Closed
ffjdksl opened this issue Dec 9, 2020 · 5 comments
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.

Comments

@ffjdksl
Copy link

ffjdksl commented Dec 9, 2020

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

@APickledWalrus
Copy link
Member

Could you copy and upload the full error to something like GIST? Maybe it's just on my end, but the image is very low quality and I can't discern the error message.

@ffjdksl
Copy link
Author

ffjdksl commented Dec 10, 2020

That's weird... I don't know what GIST is but after googling a bit it seems like it needs commands and stuff. Anyway, the image is not that necessary, it's just a screenshot of the same console error that can be found in the pastebin link I sent.

If you wanna watch the image anyways, I'm using Microsoft Edge the imgur link and the image look fine there. Left click the image to zoom into it

@APickledWalrus
Copy link
Member

By Gist I just meant GitHub gist, I should've been more specific haha

Also, I don't see any pastebin link. Am I missing something?

@ffjdksl
Copy link
Author

ffjdksl commented Dec 10, 2020

woops, I forgot to paste the link, sorry
https://pastebin.com/LaLSv3Px

And also this is a test I did later with no addons, still same error:
https://pastebin.com/NiDWwYDr

@APickledWalrus
Copy link
Member

I'm thinking this is an issue caused by #3427

@ShaneBeee ShaneBeee added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. priority: low Issues that are not harmful to the experience but are related to useful changes or additions. completed The issue has been fully resolved and the change will be in the next Skript update. labels Dec 10, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants