Update onevent.cs
stops groupmon from attaching for disabled events.
This commit is contained in:
parent
9dbb89aa31
commit
4e4e685b34
1 changed files with 9 additions and 5 deletions
|
|
@ -414,6 +414,10 @@ namespace BetterSecondbot.OnEvents
|
|||
string[] skipped = new string[] { "None", "" };
|
||||
foreach (OnEvent E in Events)
|
||||
{
|
||||
if (E.Enabled == false)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if ((E.Monitor == "None") || (E.Monitor == ""))
|
||||
{
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue