Skript

Skript

743k Downloads

SimpleLiterals pass "constant" backing array to other syntax.

Moderocky opened this issue ยท 0 comments

commented

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

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