Skip to content
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

Sum up of PUTting /player #104

Closed
oblx opened this issue Jul 8, 2018 · 1 comment
Closed

Sum up of PUTting /player #104

oblx opened this issue Jul 8, 2018 · 1 comment

Comments

@oblx
Copy link
Contributor

oblx commented Jul 8, 2018

I tried every possible body requests for player and here is my summary

"maxHealth" NOPE
"level" NOPE
"foodLevel" NOPE
"position" OK
"scale", OK
"totalExperience" NOPE
"damage" NOPE + ERROR java.lang.IllegalStateException: DamageType was null! (I set type: ATTACK)
"world" OK
"experienceSinceLevel" NOPE
"inventory", OK
"velocity" OK
"rotation" OK
"saturation" NOPE
"health" NOPE
"exhaustion" NOPE

OK : nothing wrong
NOPE : no error but does nothing (like health doesn't change)
NOPE + ERROR : well, there is an error

For damage request, I tried with several types from javadocs :
https://jd.spongepowered.org/7.0.0/org/spongepowered/api/event/cause/entity/damage/DamageTypes.html

Velocity is fun 😎

@Valandur
Copy link
Owner

Valandur commented Jul 9, 2018

Fixed in v5.2.0

@Valandur Valandur closed this as completed Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants