Mojira Archive
MC-135506

Experience saves as a short, used as integer

Experience orbs operate on integer values, and players can use vanilla commands to spawn an exp orb with an exact value.

 

Spawning an orb at 100k is valid, however if that orb is unloaded, the NBT data saves it as a short, corrupting the value.

Fixing is as trivial as changing the NBT set/get calls to Int for Value instead of Short

Invalid

Aikar

2018-08-03, 07:02 AM

2021-03-01, 01:00 PM

2020-02-19, 10:31 PM

0

5

Unconfirmed

(Unassigned)

Minecraft 1.13

-