fix(core): Converts the rest of the packets (#385)
- [X] Converts vendor buy packets - [X] Converts vendor sell packets - [X] Converts target packets - [X] Converts secure trade packets - [X] Converts some player packets that were missed
This commit is contained in:
parent
ffc26459ff
commit
3dd0d8f42b
10 changed files with 73 additions and 80 deletions
|
|
@ -510,13 +510,12 @@ namespace Server.Network
|
|||
}
|
||||
|
||||
writer.WritePacketLength();
|
||||
|
||||
return writer.Position;
|
||||
}
|
||||
|
||||
public static void SendMobileUpdate(this NetState ns, Mobile m)
|
||||
{
|
||||
if (ns == null || !ns.GetSendBuffer(out var buffer))
|
||||
if (ns == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -539,7 +538,7 @@ namespace Server.Network
|
|||
|
||||
public static void SendMobileIncoming(this NetState ns, Mobile beholder, Mobile beheld)
|
||||
{
|
||||
if (ns == null || !ns.GetSendBuffer(out var buffer))
|
||||
if (ns == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue