fix: Fixes GetItemsAt, GetMobilesAt, and GetClientsAt (#1653)

This commit is contained in:
Kamron Batman 2023-12-30 09:47:21 -08:00 • committed by GitHub
parent 2084374318
commit aaad909c89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -87,7 +87,7 @@ public partial class Map
{ {
_started = false; _started = false;
_location = loc; _location = loc;
_linkList = ref map.GetRealSector(loc.m_X, loc.m_Y).Clients; _linkList = ref map.GetSector(loc.m_X, loc.m_Y).Clients;
_version = 0; _version = 0;
_current = null; _current = null;
} }

View file

@ -119,7 +119,7 @@ public partial class Map
} }
else else
{ {
_linkList = ref map.GetRealSector(loc.m_X, loc.m_Y).Items; _linkList = ref map.GetSector(loc.m_X, loc.m_Y).Items;
} }
_version = 0; _version = 0;

View file

@ -119,7 +119,7 @@ public partial class Map
} }
else else
{ {
_linkList = ref map.GetRealSector(loc.m_X, loc.m_Y).Mobiles; _linkList = ref map.GetSector(loc.m_X, loc.m_Y).Mobiles;
} }
_version = 0; _version = 0;
_current = null; _current = null;