mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-29 19:33:51 -07:00
Setting exp shouldn't add, it should set
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user