Sashie / skript-yaml

The proper way to do yaml in skript
MIT License
32 stars 22 forks source link

getter of 'yaml value' is broken. #32

Closed hamza-cskn closed 2 years ago

hamza-cskn commented 3 years ago

Debug Code:

load yaml "plugins/BlokRanks/config.yml" as "ranks_config"
set {_x} to (yaml value "sa" from "ranks_config")
broadcast "%{_x}%"
loop all yaml nodes of "ranks_config":
    broadcast "%loop-value%"

Debug Result: image

Config:

sa: 'as'
vip:
#...

Versions: Server: 1.16.5 Paper-783 Skript: 2.5.3 Skript-YAML: 1.4 Java: JDK 16

Errors: No errors in the console. No errors about skript parse. No errors during initalize of skript and skript-yaml.

Click to see full config.yml

Sashie commented 3 years ago

I tested with the same specs you gave and it works for me so I'll try to have a few other people test it as well

image

hamza-cskn commented 3 years ago

I tested with the same specs you gave and it works for me so I'll try to have a few other people test it as well

image

Thank you for your interest. Can i help you for anything?

Sashie commented 2 years ago

I was unable to reproduce this issue