Condition "TO" Comparator Not Working With Negative Second Integer

Summary

Using any conditions while comparing using the "TO" method (#TO#) don't seem to work when the second integer is a negative value.

Steps to reproduce

Use a condition with the second integer in a TO operation being a negative value.

Current behavior

Using any conditions while comparing using the "TO" method (#TO#) don't seem to work when the second integer is a negative value.

Intended correct behavior

Using a condition with the "TO" method should work when the second integer is a negative value.

Server log file

N/A. No errors reported.

Debug log snippet

N/A. No errors reported.

Proposed fixes

Possible syntax/coding issue? I'm not honestly sure.

Example Skills

Skills That Work:

  • sound{s=block.note_block.guitar;pitch=1} @Self ~onUse ?pitch{p=-10to10}
  • sound{s=block.note_block.guitar;pitch=0.5} @Self ~onUse ?pitch{p=11to90}

Skills That Do Not Work:

  • sound{s=block.note_block.guitar;pitch=1.5} @Self ~onUse ?pitch{p=-11to-30}
  • sound{s=block.note_block.guitar;pitch=2} @Self ~onUse ?pitch{p=-31to-90}
Assignee Loading
Time tracking Loading