Describe the bug
The 'keyed ' expression from skript 2.12.0 is not working as intended within sections
To reproduce
on load:
create section with {_inputData::*} stored in {test}:
return indices of {_inputData::*}
on load:
set {_list::one} to "value1"
set {_list::two} to "value2"
set {_list::three} to "value3"
run section {test} with keyed {_list::*} and store result in {_data::*}
broadcast {_data::*} #should send one, two, three but returns 1, 2, 3
Expected behavior
when passing a keyed list into a function as of skript 2.12.0, it should preserve all the indicies from that list, this functionality does not yet exist within skript-reflect sections and i think it was missed when 2.12 support was added
local function indicies(objects: objects) :: objects:
return indicies of {_objects::*}
on load:
set {_list::one} to "value1"
set {_list::two} to "value2"
set {_list::three} to "value3"
broadcast indicies(keyed {_list::*}) #returns one, two, three (intended)
Screenshots
If applicable, add screenshots to help explain your problem.
Server information
- skript-reflect: 2.6.1
- Skript: 2.12.1
- Bukkit: running purpur (1.21.5-R0.1-SNAPSHOT)
- Minecraft: 1.21.5
- Java: 21
- OS: unknown
Additional context
skript pull request for new keyed expression behavior SkriptLang/Skript#7909
Describe the bug
The 'keyed ' expression from skript 2.12.0 is not working as intended within sections
To reproduce
Expected behavior
when passing a keyed list into a function as of skript 2.12.0, it should preserve all the indicies from that list, this functionality does not yet exist within skript-reflect sections and i think it was missed when 2.12 support was added
Screenshots
If applicable, add screenshots to help explain your problem.
Server information
Additional context
skript pull request for new keyed expression behavior SkriptLang/Skript#7909