mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Merge branch 'master' into pre/1.13
* master: Fix "MC-135506: Experience should save as Integers" still saving as short" (#1301)
This commit is contained in:
commit
5148f6bae0
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ index b8bfc75771..1cffc6f9a9 100644
|
||||||
nbttagcompound.setShort("Health", (short) this.d);
|
nbttagcompound.setShort("Health", (short) this.d);
|
||||||
nbttagcompound.setShort("Age", (short) this.b);
|
nbttagcompound.setShort("Age", (short) this.b);
|
||||||
- nbttagcompound.setShort("Value", (short) this.value);
|
- nbttagcompound.setShort("Value", (short) this.value);
|
||||||
+ nbttagcompound.setInt("Value", (short) this.value); // Paper - save as Integer
|
+ nbttagcompound.setInt("Value", this.value); // Paper - save as Integer
|
||||||
savePaperNBT(nbttagcompound); // Paper
|
savePaperNBT(nbttagcompound); // Paper
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue