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
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue