mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 11:38:29 +01:00
Setting exp shouldn't add, it should set
This commit is contained in:
parent
8b08696177
commit
965b185c5c
@ -402,7 +402,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
}
|
||||
|
||||
public void setExperience(int exp) {
|
||||
getHandle().d(exp);
|
||||
getHandle().d(exp - getExperience());
|
||||
}
|
||||
|
||||
public int getLevel() {
|
||||
|
Loading…
Reference in New Issue
Block a user