Valandur / Web-API

RESTful web server for Minecraft Sponge including an admin panel
https://valandur.github.io/Web-API/
MIT License
66 stars 17 forks source link

Sum up of PUTting /player #104

Closed oblx closed 6 years ago

oblx commented 6 years ago

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 commented 6 years ago

Fixed in v5.2.0