| 1193 | } |
| 1194 | |
| 1195 | std::shared_ptr<ModFolderModel> MinecraftInstance::nilModList() |
| 1196 | { |
| 1197 | if (!m_nil_mod_list) { |
| 1198 | bool is_indexed = !APPLICATION->settings()->get("ModMetadataDisabled").toBool(); |
| 1199 | m_nil_mod_list.reset(new ModFolderModel(nilModsDir(), this, is_indexed, false)); |
| 1200 | } |
| 1201 | return m_nil_mod_list; |
| 1202 | } |
| 1203 | |
| 1204 | std::shared_ptr<ResourcePackFolderModel> MinecraftInstance::resourcePackList() |
| 1205 | { |
no test coverage detected