Fixed event IDs and added 1 hour between rechecks
This commit is contained in:
parent
a6e8490cbd
commit
0d9ab08c43
@ -1,3 +1,3 @@
|
||||
ModDMFAlways.Enable = 1
|
||||
ModDMFAlways.EventIDs = "4,71,376"
|
||||
ModDMFAlways.ReassertInterval = 600000
|
||||
ModDMFAlways.EventIDs = "3,4,5"
|
||||
ModDMFAlways.ReassertInterval = 3600000
|
||||
|
||||
@ -53,9 +53,9 @@ public:
|
||||
void OnAfterConfigLoad(bool) override
|
||||
{
|
||||
sEnabled = sConfigMgr->GetOption<bool>("ModDMFAlways.Enable", true);
|
||||
sInterval = sConfigMgr->GetOption<uint32>("ModDMFAlways.ReassertInterval", 60000);
|
||||
sInterval = sConfigMgr->GetOption<uint32>("ModDMFAlways.ReassertInterval", 3600000);
|
||||
|
||||
std::string ids = sConfigMgr->GetOption<std::string>("ModDMFAlways.EventIDs", "4,71,376");
|
||||
std::string ids = sConfigMgr->GetOption<std::string>("ModDMFAlways.EventIDs", "3,4,5");
|
||||
sEventIds = ParseIds(ids);
|
||||
|
||||
if (sEnabled)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user