3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 20:40:07 +01:00

Merge branch 'master' into pre/1.13

* master:
  Fix "MC-135506: Experience should save as Integers" still saving as short" (#1301)
Dieser Commit ist enthalten in:
Aikar 2018-08-03 09:26:56 -04:00
Commit dbc4c29d6c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 401ADFC9891FAAFE

Datei anzeigen

@ -13,7 +13,7 @@ index b8bfc75771..1cffc6f9a9 100644
nbttagcompound.setShort("Health", (short) this.d);
nbttagcompound.setShort("Age", (short) this.b);
- 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
}