fix: Fixes GetInRange to use GetAt instead (#1768)
This commit is contained in:
parent
fb8563aa60
commit
aec75d0810
3 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue