fix: call the group OnCreate hook (#81)

This commit is contained in:
Axel Cocat
2022-12-30 10:47:39 +01:00
committed by GitHub
parent aa6615b23a
commit 28f8d6ae48

View File

@@ -407,6 +407,11 @@ public:
{
sEluna->OnDisband(group);
}
void OnCreate(Group* group, Player* leader) override
{
sEluna->OnCreate(group, leader->GetGUID(), group->GetGroupType());
}
};
class Eluna_GuildScript : public GuildScript