public static World[] FindWorlds( [CanBeNull] Player player, [NotNull] string name )
{
if ( name == null )
throw new ArgumentNullException( "name" );
World[] matches = FindWorldsNoEvent( name );
var h = SearchingForWorld;
if ( h != null ) {
SearchingForWorldEventArgs e = new SearchingForWorldEventArgs( player, name, matches.ToList() );
h( null, e );
matches = e.Matches.ToArray();
}
return matches;
}