mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-11-01 09:09:36 +00:00
Setting exp shouldn't add, it should set
This commit is contained in:
parent
8b08696177
commit
965b185c5c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue