fix: Removes players from sectors (#682)

This commit is contained in:
Kamron Batman 2021-08-13 21:25:24 -07:00 • committed by GitHub
parent f795ab4698
commit 84cbd52a2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 29 deletions

View file

@ -792,7 +792,7 @@ namespace Server
for (var y = sect.Y - range; y <= sect.Y + range; ++y)
{
var check = GetRealSector(x, y);
if (check != InvalidSector && check.Players.Count > 0)
if (check != InvalidSector && check.Clients.Count > 0)
{
return true;
}