Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

event-location no longer works in "on teleport" #5498

Closed
1 task done
TwinkleToes777 opened this issue Mar 8, 2023 · 4 comments
Closed
1 task done

event-location no longer works in "on teleport" #5498

TwinkleToes777 opened this issue Mar 8, 2023 · 4 comments
Labels
duplicate For bugs or requests that have already been made and are currently open.

Comments

@TwinkleToes777
Copy link

Skript/Server Version

[14:20:40 INFO]: §7[§6Skript§7]§r Server Version: §3git-Purpur-1171 (MC: 1.16.5)
[14:20:40 INFO]: §7[§6Skript§7]§r Skript Version: §32.6.4
[14:20:40 INFO]: §7[§6Skript§7]§r Installed Skript Addons: §3
[14:20:40 INFO]: §7[§6Skript§7]§r  - skript-yaml v1.4
[14:20:40 INFO]: §7[§6Skript§7]§r  - skRayFall v1.9.26 (https://sk.rayfall.net/)
[14:20:40 INFO]: §7[§6Skript§7]§r  - SkBee v1.15.2 (https://github.com/ShaneBeee/SkBee)
[14:20:40 INFO]: §7[§6Skript§7]§r  - Skore v2.0.1
[14:20:40 INFO]: §7[§6Skript§7]§r  - Skript-Packet v2.1.1 (www.github.com/Anarchick/skript-packet)
[14:20:40 INFO]: §7[§6Skript§7]§r  - skript-placeholders v1.5.2 (https://github.com/APickledWalrus/skript-placeholders)
[14:20:40 INFO]: §7[§6Skript§7]§r  - skDragon v0.17.5
[14:20:40 INFO]: §7[§6Skript§7]§r  - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
[14:20:40 INFO]: §7[§6Skript§7]§r  - SkQuery v4.1.6
[14:20:40 INFO]: §7[§6Skript§7]§r  - SkriptJSON v1.0.0
[14:20:40 INFO]: §7[§6Skript§7]§r  - SkJade v1.4.2 (https://www.github.com/Ankoki-Dev/SkJade)
[14:20:40 INFO]: §7[§6Skript§7]§r Installed dependencies: §3
[14:20:40 INFO]: §7[§6Skript§7]§r  - Vault v1.7.3-b131
[14:20:40 INFO]: §7[§6Skript§7]§r  - WorldGuard v7.0.5+3827266

Bug Description

using "event-location" in on teleport throws an error
"There's no location in an on teleport event"

Expected Behavior

Expected to work, it used to work in Skript 2.6.1

Steps to Reproduce

on teleport:
loop all players in radius 1 of event-location:

Errors or Screenshots

There's no location in an on teleport event

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@NotSoDelayed
Copy link
Contributor

Cannot reproduce bug using Paper 1.19.3 and Skript 2.6.4:
image

@AyhamAl-Ali
Copy link
Member

@TwinkleToes777 Can you send a screenshot of the actual error? also try to replicate it without any addon

@AyhamAl-Ali AyhamAl-Ali added the waiting for reply The report needs a response from the reporter to determine course of action. label Mar 9, 2023
@TwinkleToes777
Copy link
Author

I just tested this on 1.19.2 and I did not get the error, but I did get the error in 1.16.5, so it may be a version specific problem.

Not a screenshot, but very detailed copy from console of the error:

§7[§6Skript§7]§r Reloading §6§6spectate.sk§r§r...
§c§lLine 147:§7 (gc/spectate.sk)
§c    There's no location in an on teleport event
§6    Line: §7loop all players in radius 1 of event-location:
§r

I am yet to try without addons, I may do it later.

@TheLimeGlass
Copy link
Collaborator

Duplicate #5392

@TheLimeGlass TheLimeGlass added duplicate For bugs or requests that have already been made and are currently open. and removed waiting for reply The report needs a response from the reporter to determine course of action. labels Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For bugs or requests that have already been made and are currently open.
Projects
None yet
Development

No branches or pull requests

4 participants