fix(core): Fixes item mask in incoming mobile packet (#568)

- [X] FIxes the item mask in incoming mobile packet
- [X] Streamlines some of the send info stuff
- [X] Adds a few missing packet initializations
This commit is contained in:
Kamron Batman 2021-04-10 21:48:07 -07:00 • committed by GitHub
parent ee61c5a257
commit b51bab5f1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 27 additions and 32 deletions

View file

@ -1147,7 +1147,7 @@ namespace Server
{
if (state.HighSeas)
{
var length = OutgoingEntityPackets.CreateWorldEntity(hsWorldItem, this, true, true);
var length = OutgoingEntityPackets.CreateWorldEntity(hsWorldItem, this, true);
if (length != hsWorldItem.Length)
{
hsWorldItem = hsWorldItem.SliceToLength(length);
@ -1157,7 +1157,7 @@ namespace Server
}
else if (state.StygianAbyss)
{
var length = OutgoingEntityPackets.CreateWorldEntity(saWorldItem, this, true, false);
var length = OutgoingEntityPackets.CreateWorldEntity(saWorldItem, this, false);
if (length != saWorldItem.Length)
{
saWorldItem = saWorldItem.SliceToLength(length);