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:
parent
ee61c5a257
commit
b51bab5f1d
9 changed files with 27 additions and 32 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue