You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source should be a Variable instance of the Entity that was set originally and not the converted Location expression.
Steps to Reproduce
Run code from #6686 and attempt to get the getExpr() within the change or execute in ExprCoordinate. The getSource will always be a Location.
Errors or Screenshots
No response
Other
I believe either the source is forgotten to be added when converting or the source is considered transient for global variables, because saving two instances of the same variable makes no sense.
Where as local variables should be keeping this reference.
Agreement
I have read the guidelines above and affirm I am following them with this report.
The text was updated successfully, but these errors were encountered:
Skript/Server Version
Bug Description
When executing
getExpr().getSource()
where getExpr() is an Entity in a Variable and the calling expression class is calling for %location%,The source will still be a Location.
See ExprCoordinate for the underlying issue class #6686
More details at #7394
Expected Behavior
The source should be a Variable instance of the Entity that was set originally and not the converted Location expression.
Steps to Reproduce
Run code from #6686 and attempt to get the getExpr() within the change or execute in ExprCoordinate. The getSource will always be a Location.
Errors or Screenshots
No response
Other
I believe either the source is forgotten to be added when converting or the source is considered transient for global variables, because saving two instances of the same variable makes no sense.
Where as local variables should be keeping this reference.
Agreement
The text was updated successfully, but these errors were encountered: