-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ExprRespawnLocation expecting a Number #2602
Conversation
ExprSpawnLocation used to be a number, this commit makes it a Location instead.
Not sure why it was returning a Number in the first place lol |
Me neither, seems to have even existed in LimeGlass' initial commit, as seen here. |
I noticed a strange bug with my own build of Skript with this change in it- Has anyone seen this before? Do you think this change is causing the issue? |
For reference - in future please don't use hastebin as it does not provide permanent storage. |
I don't think that exception thrown has anything to do with this change - since a change in the return value of a function of ExprRespawnLocation should not have any impact on the unloadScript function... |
Alright, then I guess that's not to be discussed here.
Ah, sorry, was unsure whether it did or not. |
Manually merged to 2.4 branch. |
Description
In beta9, ExprRespawnLocation's acceptChange method returns
CollectionUtils.array(Number.class)
even though the expression itself is a location.Target Minecraft Versions: Any
Requirements: None
Related Issues: None (as far as I know)