parent
185bee7ae2
commit
3b7f648c27
18 changed files with 25 additions and 25 deletions
|
|
@ -182,7 +182,7 @@ namespace Server.Items
|
|||
{
|
||||
var sign = m_House.Sign;
|
||||
|
||||
m_Description = sign?.Name?.Trim().IsNullOrDefault("an unnamed house");
|
||||
m_Description = (sign?.Name?.Trim()).DefaultIfNullOrEmpty("an unnamed house");
|
||||
|
||||
setDesc = true;
|
||||
|
||||
|
|
@ -257,7 +257,7 @@ namespace Server.Items
|
|||
{
|
||||
if (m_Marked)
|
||||
{
|
||||
var desc = m_Description?.Trim().IsNullOrDefault("an unknown location");
|
||||
var desc = (m_Description?.Trim()).DefaultIfNullOrEmpty("an unknown location");
|
||||
|
||||
if (m_TargetMap == Map.Tokuno)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@ namespace Server.Items
|
|||
|
||||
from.Send(new PlaySound(0x42, GetWorldLocation()));
|
||||
|
||||
from.SendMessage(rune.Description?.Trim().IsNullOrDefault("(indescript)"));
|
||||
from.SendMessage((rune.Description?.Trim()).DefaultIfNullOrEmpty("(indescript)"));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue