Arithmetic returning Object when multiple valid operations causing unexpected parsing #6623
Closed
1 task done
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
patch-ready
A PR/issue that has been approved and is ready to be merged/closed for the next patch version.
Skript/Server Version
Bug Description
send health of {z} / max health of {z}
parses assend health of ({z} / max health of {z})
since the latter's return type is Object, it is accepted by thelivingentity
input ofhealth of
.Expected Behavior
Parse as
send (health of {z}) / (max health of {z})
Steps to Reproduce
Errors or Screenshots
No response
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: