[SPIGOT-3259] setTotalExperience() is not working Created: 21/May/17  Updated: 22/May/17  Resolved: 22/May/17

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: LuckyChicken Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

If im using the setTotalExperience() method he does nothing! I cant set the total experience. Just setExp() is working. But I cant set the levels with setExp().

Im sure this is a bug.
I have given my CraftBukkit version.



 Comments   
Comment by md_5 [ 22/May/17 ]

Javadoc clarified

Comment by Black Hole [ 21/May/17 ]

From http://minecraft.gamepedia.com/Player.dat_format
"The total amount of XP the player has collected over time; used for the Score upon death."

Maybe the documentation for getTotalExperience() and setTotalExperience() could be updated to reflect that but all methods are working as indended.

Generated at Sat Dec 13 15:21:53 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.