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

@ -91,7 +91,7 @@ namespace Server.Commands
public static void Add_Static(int itemID, Point3D location, Map map, string name)
{
using var queue = PooledRefQueue<Item>.Create();
foreach (var item in map.GetItemsInRange(location, 0))
foreach (var item in map.GetItemsAt(location))
{
if (item is Sign && item.Z == location.Z && item.ItemID == itemID)
{