Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
Setting exp shouldn't add, it should set
Dieser Commit ist enthalten in:
Ursprung
8b08696177
Commit
965b185c5c
@ -402,7 +402,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setExperience(int exp) {
|
public void setExperience(int exp) {
|
||||||
getHandle().d(exp);
|
getHandle().d(exp - getExperience());
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getLevel() {
|
public int getLevel() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren