refactor: move general info from Mod to Resource
This allows us to create other resources that are not Mods, but can still share a significant portion of code. Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
@ -714,7 +714,7 @@ QStringList MinecraftInstance::verboseDescription(AuthSessionPtr session, Minecr
|
||||
});
|
||||
for(auto mod: modList)
|
||||
{
|
||||
if(mod->type() == Mod::MOD_FOLDER)
|
||||
if(mod->type() == ResourceType::FOLDER)
|
||||
{
|
||||
out << u8" [🖿] " + mod->fileinfo().completeBaseName() + " (folder)";
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user