-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
Velocity expression not working and docs issues #792
Comments
Oooops, I probably merged this pull request a bit too fast, as it had some other useful features. @Snow-Pyon please post the NPE here fully. I hope @Sashie takes a look at it before next release, as I'm kinda busy. Docs issues are something that I'll need to check. Thanks for reporting them. |
Well, I think my memory didn't serve me right, it wasn't a NPE, it was an IndexOutOfBoundsException. Here is it anyways: |
More doc issues: |
@Snow-Pyon Try without addons... |
@bensku the addons doesn't matter, it's clearly an issue of Skript as how the velocity expression is being registered. A pull request has been made to fix this anyways. |
The thing is, addons can override expressions with their own, so if an addon had velocity expressions, it might break stuff. But anyway, doesn't seem to be the cause in this case. |
I believe this has been fixed long ago by now. At least, I personally have used the velocity expression without issue. |
So, I was gonna try some stuff with this expression and realized that it doesn't have any type value, that means you can't get the velocity from anywhere therefore it throws a NullPointerException.
Now, here are some issues with the current documentation:
This expression doesn't have the correct "since" value, it's "INSERT VERSION" right now:
http://bensku.github.io/Skript/expressions.html#ExprVelocity
The
world
,tree type
,time
,timeperiod
,timespan
,experience
,item type
,item/material
,number
andenchantment type
classinfos has some html tags around it.The
potion effect type
classinfo hasnull
between its values.The
enchantment
classinfo hasenchantments.names.sweeping_edge
between its values.The
direction
,command sender
,entity type with amount
andliving entity
classinfos has a href tag in the pattern.The text was updated successfully, but these errors were encountered: