String patch, thanks Carmina
This commit is contained in:
parent
332effd18f
commit
88658b58e2
15 changed files with 33 additions and 33 deletions
|
|
@ -232,7 +232,7 @@ namespace Server.Mobiles
|
|||
else
|
||||
item.LabelTo( from, 1043304, vi.Price.ToString() ); // Price: ~1_COST~
|
||||
|
||||
if ( vi.Description != null && vi.Description != "" )
|
||||
if ( !String.IsNullOrEmpty( vi.Description ) )
|
||||
{
|
||||
// The localized message (1043305) is no longer valid - <br>Seller's Description:<br>"~1_DESC~"
|
||||
item.LabelTo( from, "Description: {0}", vi.Description );
|
||||
|
|
@ -961,7 +961,7 @@ namespace Server.Mobiles
|
|||
if ( vi != null )
|
||||
{
|
||||
string name;
|
||||
if ( item.Name != null && item.Name != "" )
|
||||
if ( !String.IsNullOrEmpty( item.Name ) )
|
||||
name = item.Name;
|
||||
else
|
||||
name = "#" + item.LabelNumber.ToString();
|
||||
|
|
@ -1719,4 +1719,4 @@ namespace Server.Mobiles
|
|||
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( Delete ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue