Open MinecraftNight4 opened 1 year ago
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
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:
Describe the bug SkJson and Skript Reflect have problems detecting jsons inside an expression.
To reproduce
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
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: