Renamed sendPacketToAll to sendPacket.