fix: Fixes factions and makes it static (#993)

This commit is contained in:
Kamron Batman 2022-05-10 11:57:37 -07:00 committed by GitHub
parent 097c0143b0
commit f7cbeacf48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 129 additions and 93 deletions

View file

@ -46,6 +46,8 @@ namespace Server
);
}
public static void Unregister(string name) => _registry.RemoveWhere(entry => entry.Name == name);
public static void Load(string path)
{
// This should probably not be parallel since Mobiles must be loaded before Items