Skript

Skript

788k Downloads

"reversed X times" is broken

Closed this issue ยท 1 comments

commented

Skript/Server Version

Skript 2.12.1
Paper 1.21.8
No addons

Bug Description

"reversed 5 times" gets parsed as "(reversed 5) times" which returns 1,2,3,4,5

Expected Behavior

it should return 5,4,3,2,1

Steps to Reproduce

on load:
  loop reversed 5 times:
    broadcast loop-value

Errors or Screenshots

No response

Other

No response

Agreement

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

Having ExprReversedList return false in #init if the expression is singular seems to fix the issue, but not sure if that should be the actual fix.