[1.16.5 Bug] DropMoreExperienceonDeath works wrong
GoldenTotem opened this issue ยท 2 comments
Minecraft 1.16.5 Forge 36.2.35 Mod 3.4.19
Player will get 1 xp less than expected.
- Enable DropMoreExperienceonDeath.
- Run command
/xp add @s 10000
/kill
- PIck up all exp orbs, and run command
/data get entity @s XpTotal
Player will have 7999 xp, not 10000*0.8=8000.
i think you may be checking score which is not the same, i'm pretty sure the xp is correct. either way though code isn't getting changed
i think you may be checking score which is not the same, i'm pretty sure the xp is correct. either way though code isn't getting changed
I don't think I made a mistake, the Xptotal nbt of player do shows the how much xp a player have. I guess maybe the floor function of xp cause this problem.