fix: Fixes house update range bug (#1790)
This commit is contained in:
parent
6596046216
commit
0011db7f47
5 changed files with 9 additions and 10 deletions
|
|
@ -265,7 +265,7 @@ namespace Server.Engines.Harvest
|
|||
Definitions = new[] { OreAndStone, Sand };
|
||||
}
|
||||
|
||||
public static Mining System => _system ?? (_system = new Mining());
|
||||
public static Mining System => _system ??= new Mining();
|
||||
|
||||
public HarvestDefinition OreAndStone { get; }
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,7 @@ public abstract partial class QuestGiverItem : Item, IQuestGiver
|
|||
|
||||
public override bool Nontransferable => true;
|
||||
|
||||
public List<MLQuest> MLQuests => m_MLQuests ??
|
||||
(m_MLQuests = MLQuestSystem.FindQuestList(GetType()) ?? MLQuestSystem.EmptyList);
|
||||
public List<MLQuest> MLQuests => m_MLQuests ??= MLQuestSystem.FindQuestList(GetType()) ?? MLQuestSystem.EmptyList;
|
||||
|
||||
public override void AddNameProperties(IPropertyList list)
|
||||
{
|
||||
|
|
@ -75,8 +74,7 @@ public abstract partial class TransientQuestGiverItem : TransientItem, IQuestGiv
|
|||
|
||||
public override bool Nontransferable => true;
|
||||
|
||||
public List<MLQuest> MLQuests => m_MLQuests ??
|
||||
(m_MLQuests = MLQuestSystem.FindQuestList(GetType()) ?? MLQuestSystem.EmptyList);
|
||||
public List<MLQuest> MLQuests => m_MLQuests ??= MLQuestSystem.FindQuestList(GetType()) ?? MLQuestSystem.EmptyList;
|
||||
|
||||
public override void HandleInvalidTransfer(Mobile from)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue