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

sk-reflect parsing as object for no reason #73

Open
MinecraftNight4 opened this issue Aug 30, 2023 · 0 comments
Open

sk-reflect parsing as object for no reason #73

MinecraftNight4 opened this issue Aug 30, 2023 · 0 comments

Comments

@MinecraftNight4
Copy link

MinecraftNight4 commented Aug 30, 2023

Describe the bug
SkJson and Skript Reflect have problems detecting jsons inside an expression.

To reproduce

effect json-rem %string% on %json%:
	trigger:
		remove key (expr-1) of json object from expr-2

When I trying to create this effect, shows this error:
"Expression 2 cannot have anything removed from it".

Expected behavior
You are supposed to be able to delete elements inside the json, but it doesn't make much sense for this to happen.

Screenshots
image

Server information
Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
Skript's documentation can be found here: https://docs.skriptlang.org/
Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
Server Version: git-Purpur-2050 (MC: 1.20.1)
Skript Version: 2.7.0-beta3 (skriptlang-github)
Installed dependencies: None
Installed Skript Addons:

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