Description
Skript/Server Version
[20:36:14 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[20:36:14 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[20:36:14 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[20:36:14 INFO]: [Skript] Server Version: git-Paper-72 (MC: 1.20.1)
[20:36:14 INFO]: [Skript] Skript Version: 2.7.0-beta3 (skriptlang-github)
[20:36:14 INFO]: [Skript] Installed Skript Addons: None
[20:36:14 INFO]: [Skript] Installed dependencies:
[20:36:14 INFO]: [Skript] - Vault v1.7.3-b131
[20:36:14 INFO]: [Skript] - WorldGuard v7.0.9-SNAPSHOT+2242-c4295d7
Bug Description
While trying to set location using variables I'm getting error "Variables cannot be used in location expression". It was fully working in skript 2.6.3 so I'm posting it to be sure - is it bug or expected behavior? If expected - is there any workaround I can use to keep that functionality known from 2.6.3?
code:
set {_cord2} to the location at {_x2}, 0, {_z1} of the world world
[18:55:31 INFO]: [Skript] Line 40: (cuboid.sk)
[18:55:31 INFO]: Variables cannot be used here.
[18:55:31 INFO]: Line: set {_cord2} to the location at {_x2}, 0, {_z1} of the world world
Expected Behavior
Expected behavior is not to getting error Variables cannot be used here.
Steps to Reproduce
Try to set variable to location using variables (ex. set {_cord2} to the location at {_x2}, 0, {_z1} of the world world)
Errors or Screenshots
No response
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.