TlatoaniHJ / Tablisknu

A Skript addon focused on manipulating the tablist, skins, and nametags.
MIT License
7 stars 4 forks source link

Temp variables cleared after "retrieve skin" effect #2

Closed HAHAYOUDEAD closed 5 years ago

HAHAYOUDEAD commented 5 years ago

Description

retrieve skin effect clears all temp variables set before, including function arguments

according to Nicofisi (from Sk Discord) this https://github.com/SkriptLang/Skript/commit/237b3dd928f3108d154204d3e98af1208e7679f4 might be related

Steps to reproduce

command /test4:
    trigger:
        set {_test} to "hello"
        broadcast "<green>%{_test}%"
        retrieve skin of "Waltz" parsed as offline player with timeout 2 seconds into {_skin}
        broadcast "<light red>%{_test}%"

Output: default

TlatoaniHJ commented 5 years ago

Skript version?

HAHAYOUDEAD commented 5 years ago

2.3.5, latest Paper

TlatoaniHJ commented 5 years ago

If you can contact me in Discord, I can send you a version that should fix this issue.

TlatoaniHJ commented 5 years ago

(Issue resolved in Discord)