| 216 | } |
| 217 | |
| 218 | QSet<QString> MinecraftInstance::traits() const |
| 219 | { |
| 220 | auto components = getPackProfile(); |
| 221 | if (!components) |
| 222 | { |
| 223 | return {"version-incomplete"}; |
| 224 | } |
| 225 | auto profile = components->getProfile(); |
| 226 | if (!profile) |
| 227 | { |
| 228 | return {"version-incomplete"}; |
| 229 | } |
| 230 | return profile->getTraits(); |
| 231 | } |
| 232 | |
| 233 | QString MinecraftInstance::gameRoot() const |
| 234 | { |
no test coverage detected