fix: Fixes GetInRange to use GetAt instead (#1768)

This commit is contained in:
Kamron Batman 2024-05-09 14:01:25 -07:00 committed by GitHub
parent fb8563aa60
commit aec75d0810
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -3549,7 +3549,7 @@ public class Item : IHued, IComparable<Item>, ISpawnable, IObjectPropertyListEnt
}
using var items = PooledRefList<Item>.Create();
foreach (var item in map.GetItemsInRange(p, 0))
foreach (var item in map.GetItemsAt(p))
{
if (item is BaseMulti || item.ItemID > TileData.MaxItemValue)
{