world_item GetWorldItem(int id)
{
try
{
for (int i = 0; i <= Systems.WorldItem.Count - 1; i++)
{
if (Systems.WorldItem[i] != null && Systems.WorldItem[i].UniqueID == id)
return Systems.WorldItem[i];
}
}
catch (Exception ex)
{
Systems.Debugger.Write(ex);
}
return null;
}