fixed compile issues for first compile and updated conf to remove duplicates

This commit is contained in:
2024-09-02 00:37:11 -04:00
parent ef206b6a0d
commit d98a0345d7
8 changed files with 23 additions and 30 deletions

View File

@@ -19,9 +19,7 @@ class MythicPlus_GroupScript : public GroupScript
return;
}
MpDataStore* mpds = MpDataStore::getInstance();
GroupData gd = { group, MP_DIFFICULTY_NORMAL };
mpds->AddGroupData(group->GetGUID(), gd);
// sMpDataStore->AddGroupData(group->GetGUID(), gd);
}
void OnDisband(Group* group) override {
@@ -29,8 +27,8 @@ class MythicPlus_GroupScript : public GroupScript
return;
}
MpDataStore* mpds = MpDataStore::getInstance();
mpds->RemoveGroupData(group->GetGUID());
// MpDataStore* mpds = MpDataStore::instance();
// mpds->RemoveGroupData(group->GetGUID());
}
};
@@ -38,4 +36,4 @@ void Add_MP_GroupScripts()
{
MpLogger::debug("Add_MP_GroupScripts()");
new MythicPlus_GroupScript();
}
}