Creates more tests for outgoing packets (#165)

This commit is contained in:
Kamron Batman 2020-06-26 12:04:29 -07:00 • committed by GitHub
parent d76d60d900
commit 24b1a579f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 2321 additions and 1488 deletions

View file

@ -1938,7 +1938,7 @@ namespace Server.Network
state.Send(new LoginConfirm(m));
if (m.Map != null)
state.Send(new MapChange(m));
state.Send(new MapChange(m.Map));
if (!Core.SE && state.ProtocolChanges < ProtocolChanges.Version6000)
state.Send(new MapPatches());
@ -2022,7 +2022,8 @@ namespace Server.Network
state.Send(LoginComplete.Instance);
state.Send(new CurrentTime());
state.Send(SeasonChange.Instantiate(m.GetSeason(), true));
state.Send(new MapChange(m));
if (m.Map != null)
state.Send(new MapChange(m.Map));
EventSink.InvokeLogin(m);