fix(core): Fixes NPE with Town Crier Entries
This commit is contained in:
parent
e869c105d0
commit
f3e53bfd7b
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
return Entries.RandomElement();
|
||||
return Entries?.RandomElement();
|
||||
}
|
||||
|
||||
public TownCrierEntry AddEntry(string[] lines, TimeSpan duration)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue