|
|
|
@ -1020,6 +1020,11 @@ public abstract class EntityPlayer extends EntityLiving implements ICommandSende
|
|
|
|
|
this.experience = par1NBTTagCompound.getFloat("XpP");
|
|
|
|
|
this.experienceLevel = par1NBTTagCompound.getInteger("XpLevel");
|
|
|
|
|
this.experienceTotal = par1NBTTagCompound.getInteger("XpTotal");
|
|
|
|
|
if(par1NBTTagCompound.hasKey("PosXBig")) {
|
|
|
|
|
this.posXBig = par1NBTTagCompound.getBigDecimal("PosXBig");
|
|
|
|
|
this.posXBig = par1NBTTagCompound.getBigDecimal("PosXBig");
|
|
|
|
|
setPosition(posXBig, posY, posZBig);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.sleeping)
|
|
|
|
|
{
|
|
|
|
@ -1055,6 +1060,8 @@ public abstract class EntityPlayer extends EntityLiving implements ICommandSende
|
|
|
|
|
par1NBTTagCompound.setFloat("XpP", this.experience);
|
|
|
|
|
par1NBTTagCompound.setInteger("XpLevel", this.experienceLevel);
|
|
|
|
|
par1NBTTagCompound.setInteger("XpTotal", this.experienceTotal);
|
|
|
|
|
par1NBTTagCompound.setBigDecimal("PosXBig", posXBig);
|
|
|
|
|
par1NBTTagCompound.setBigDecimal("PosZBig", posZBig);
|
|
|
|
|
|
|
|
|
|
if (this.spawnChunk != null)
|
|
|
|
|
{
|
|
|
|
|