Closed Philipp0002 closed 5 years ago
I could do a workaround with following code:
((CraftPlayer)player).getHandle().setAbsorptionHearts(1F); player.damage(1);
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What steps will reproduce the problem?
What were you expecting to happen? What happened instead?
I should lose health, but I don't. I only get the damage animation and nothing else. If I remove my player.dat file in world/playerdata/uuid.dat and restart the server everything is ok until I change my skin again.
What version of the plugin are you using? Type /version <Plugin Name>
Version 3.13.3-SNAPSHOT
What Spigot version are you using? Type /version
This server is running CraftBukkit version git-Spigot-b78586d-03f1e37 (MC: 1.12) (Implementing API version 1.12-R0.1-SNAPSHOT)
What plugins are you using? Type /plugins
ParticleAPI, WorldEdit, LoR (the plugin that changes the skin), PacketListenerAPI, NickNamer
Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log
No errors.
Did your client crash? Upload errors in .minecraft/logs/latest.log as well
No
Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)
No bungeecord.