sync and some misc things
This commit is contained in:
parent
d1f9a38518
commit
ed97d43c9e
15 changed files with 77 additions and 78 deletions
|
|
@ -1468,18 +1468,18 @@ namespace Server.Mobiles
|
|||
int price;
|
||||
string description;
|
||||
|
||||
if ( int.TryParse( firstWord, out price ) )
|
||||
{
|
||||
if ( sep >= 0 )
|
||||
description = text.Substring( sep + 1 ).Trim();
|
||||
else
|
||||
description = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
price = -1;
|
||||
description = text.Trim();
|
||||
}
|
||||
if ( int.TryParse( firstWord, out price ) )
|
||||
{
|
||||
if ( sep >= 0 )
|
||||
description = text.Substring( sep + 1 ).Trim();
|
||||
else
|
||||
description = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
price = -1;
|
||||
description = text.Trim();
|
||||
}
|
||||
|
||||
SetInfo( from, price, Utility.FixHtml( description ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue