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

local list Variables using only underscore is no longer supported #7505

Open
1 task done
Fusezion opened this issue Jan 22, 2025 · 0 comments
Open
1 task done

local list Variables using only underscore is no longer supported #7505

Fusezion opened this issue Jan 22, 2025 · 0 comments

Comments

@Fusezion
Copy link
Contributor

Skript/Server Version

[04:55:23 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[04:55:23 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[04:55:23 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[04:55:23 INFO]: [Skript] Server Version: 1.21.4-118-73f7736 (MC: 1.21.4)
[04:55:23 INFO]: [Skript] Skript Version: 2.10.0-nightly-9e69c9c08 (skriptlang-nightly)
[04:55:23 INFO]: [Skript] Installed Skript Addons: None
[04:55:23 INFO]: [Skript] Installed dependencies: None

Bug Description

When attempting to set a local list variable that only uses _ skript throws a parse error saying you can't use x symbol within a variable

Expected Behavior

Skript to retain default behavior when provided a local variable in the is reserved check

Steps to Reproduce

command /example:
    trigger:
        set {_::*} to 1,1,1

Errors or Screenshots

No response

Other

The fix to this simply not do this check if the variable is local, since the variable storage already doesn't store it.
Skript version info was taken from a skriptTestDev server

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant