CCE with ExprXOf with invalid types #3814
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.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Description
I got a ClassCastException
Steps to Reproduce
run
{_x} can be any type, as long as it's not an item or entity type
Expected Behavior
No exception, {_y} shouldn't be set
Errors / Screenshots
https://pastebin.com/vd7cNEZq
Server Information
Additional Context
ExprXOf#getExpr
's return type was set toObject
due to its implementation ofgetConvertedExpression
(the expression was converted toObject
). The conversion was implemented in 4088ce1Related / duplicate: #3231
The text was updated successfully, but these errors were encountered: