Adds new local event FoundMasterAvatar

This commit is contained in:
Madpeter 2020-05-10 22:20:35 +01:00
parent 34b0dd61f3
commit d8d5dfb78b

View file

@ -215,8 +215,13 @@ namespace BSB.bottypes
if (helpers.notempty(myconfig.master) == true) if (helpers.notempty(myconfig.master) == true)
{ {
if(myconfig.master == av_name) if(myconfig.master == av_name)
{
if (master_uuid == UUID.Zero)
{ {
master_uuid = av_uuid; master_uuid = av_uuid;
FoundMasterAvatar();
}
} }
} }
} }
@ -264,5 +269,10 @@ namespace BSB.bottypes
return "lookup"; return "lookup";
} }
} }
protected virtual void FoundMasterAvatar()
{
}
} }
} }