feat: Converts player deletion handling to a generated event (#2029)
This commit is contained in:
parent
059f008b48
commit
2bff1d2cbc
15 changed files with 32 additions and 17 deletions
|
|
@ -620,6 +620,7 @@ namespace Server.Engines.MLQuests
|
|||
context?.HandleDeath();
|
||||
}
|
||||
|
||||
[OnEvent(nameof(PlayerMobile.PlayerDeletedEvent))]
|
||||
public static void HandleDeletion(PlayerMobile pm)
|
||||
{
|
||||
var context = GetContext(pm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue