Fixed a few more packet write issues

This commit is contained in:
Robert S 2014-10-22 15:01:40 -04:00
parent 6ece9c2367
commit 6fbc93b6cd
2 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ class TileNuclearBoiler extends TileElectricInventory(Material.iron) with IPacke
override def getDescPacket: PacketTile =
{
return new PacketTile(xi, yi, zi, Array(this.timer, AtomicContent.getFluidAmount(this.waterTank.getFluid), AtomicContent.getFluidAmount(this.gasTank.getFluid)))
return new PacketTile(xi, yi, zi, Array[Any](this.timer, AtomicContent.getFluidAmount(this.waterTank.getFluid), AtomicContent.getFluidAmount(this.gasTank.getFluid)))
}
def sendDescPack

View file

@ -137,9 +137,9 @@ class TileQuantumAssembler extends TileElectricInventory(Material.iron) with IPa
{
if (this.getStackInSlot(6) != null)
{
return new PacketTile(xi, yi, zi, Array(time, getStackInSlot(6)))
return new PacketTile(xi, yi, zi, Array[Any](time, getStackInSlot(6)))
}
return new PacketTile(xi, yi, zi, Array(time, -1, -1, -1))
return new PacketTile(xi, yi, zi, Array[Any](time, -1, -1, -1))
}
/**