This commit is contained in:
mark 2010-12-08 10:42:10 +00:00
parent af37bba9b8
commit 712037724a
6 changed files with 16 additions and 18 deletions

View file

@ -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 );