if (this.worldObj.isRemote)
{
try
{
float x = dataStream.readFloat(), y = dataStream.readFloat(), z = dataStream.readFloat();
this.coords = new EnergyCoordinates(x, y, z);
this.joulesForDisplay = dataStream.readFloat();
this.owningPlayer = dataStream.readUTF();
}
catch (Exception e)
{
e.printStackTrace();
}
}
else
{
try
{
float x = dataStream.readFloat(), y = dataStream.readFloat(), z = dataStream.readFloat();
this.setFrequency(new EnergyCoordinates(x, y, z));
}
catch (Exception e)
{
e.printStackTrace();
}