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:
@ -23,7 +23,7 @@
|
||||
|
||||
void MCModInfoFrame::updateWithMod(Mod &m)
|
||||
{
|
||||
if (m.type() == m.MOD_FOLDER)
|
||||
if (m.type() == ResourceType::FOLDER)
|
||||
{
|
||||
clear();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user