Skript icon indicating copy to clipboard operation
Skript copied to clipboard

SimpleLiterals pass "constant" backing array to other syntax.

Open Moderocky opened this issue 1 year ago • 0 comments

Skript/Server Version

2.8.5

Bug Description

Simple literals store their value in a backing array, this is passed as-is in getArray, etc. and so any badly-formed syntax that takes the Object[] from getArray and uses it to exchange data could permanently modify the literal value.

Expected Behavior

Probably shouldn't pass the backing array here.

Steps to Reproduce

:(

Errors or Screenshots

No response

Other

No response

Agreement

  • [X] I have read the guidelines above and affirm I am following them with this report.

Moderocky avatar May 10 '24 14:05 Moderocky