fix: Fixes issue with duping items and serialization, and sector lists. (#1662)

This commit is contained in:
Kamron Batman 2024-01-23 23:08:52 -08:00 committed by GitHub
parent 497ea87943
commit 3812a783ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 32 additions and 53 deletions

View file

@ -7272,6 +7272,7 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
}
m_Location = newLocation;
m_Map?.OnMove(oldLocation, this);
UpdateRegion();
var box = FindBankNoCreate();
@ -7283,8 +7284,6 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
m_NetState?.ValidateAllTrades();
m_Map?.OnMove(oldLocation, this);
if (isTeleport && m_NetState != null && (!m_NetState.HighSeas || !NoMoveHS))
{
m_NetState.Sequence = 0;