fix: Moves many EventSinks out of core. (#1783)

This commit is contained in:
Marcelo Paez Sequeira 2024-05-21 14:02:30 -03:00 committed by GitHub
parent 1cb798d807
commit 00908d030f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 133 additions and 276 deletions

View file

@ -108,7 +108,6 @@ public static class AntiMacroSystem
{
EventSink.WorldSave += OnWorldSave;
EventSink.Logout += OnLogout;
EventSink.Login += OnLogin;
}
private static void OnWorldSave()
@ -139,7 +138,7 @@ public static class AntiMacroSystem
}
}
private static void OnLogin(Mobile m)
public static void OnLogin(Mobile m)
{
// Stop the clear out timer
if (_logoutCleanup?.Remove(m, out var timer) == true)