Remove NPCs from UserManagement when removed
parent
6d063785bd
commit
2ea5f09ed3
|
@ -4798,6 +4798,10 @@ Label_GroupsDone:
|
|||
if (sp != null)
|
||||
{
|
||||
sp.ControllingClient.Close(force, force);
|
||||
|
||||
if(sp.IsNPC && UserManagementModule != null)
|
||||
UserManagementModule.RemoveUser(sp.UUID);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue