Adds BufferReader and BufferWriter. Updates UOP handling. (#101)

This commit is contained in:
Kamron Batman 2020-04-12 21:33:24 -07:00 • committed by GitHub
parent 2c0d97cd36
commit 038c3be258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 2458 additions and 2185 deletions

View file

@ -29,7 +29,7 @@ namespace Server.Spells.Spellweaving
public static void Initialize()
{
EventSink.PlayerDeath += delegate(PlayerDeathEventArgs e) { HandleDeath(e.Mobile); };
EventSink.PlayerDeath += HandleDeath;
}
public override void OnCast()
@ -132,10 +132,8 @@ namespace Server.Spells.Spellweaving
timer.DoExpire();
}
public static void OnLogin(LoginEventArgs e)
public static void OnLogin(Mobile m)
{
Mobile m = e.Mobile;
if (m?.Alive != false || m_Table[m] == null)
return;