This commit is contained in:
parent
af37bba9b8
commit
712037724a
6 changed files with 16 additions and 18 deletions
|
|
@ -3,7 +3,6 @@ using System.Collections;
|
|||
using System.Collections.Generic;
|
||||
using System.Xml;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Regions
|
||||
{
|
||||
|
|
@ -310,7 +309,7 @@ namespace Server.Regions
|
|||
{
|
||||
Item item = sector.Items[j];
|
||||
|
||||
if ( !(item is BaseMulti) && item.AtWorldPoint( x, y ) )
|
||||
if ( item.ItemID <= TileData.MaxItemValue && item.AtWorldPoint( x, y ) )
|
||||
{
|
||||
m_SpawnBuffer2.Add( item );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue