Misc fixes.
This commit is contained in:
@@ -1355,6 +1355,9 @@ namespace Game.Entities
|
||||
Player playerUser = user.ToPlayer();
|
||||
if (playerUser != null)
|
||||
{
|
||||
if (!m_goInfo.IsUsableMounted())
|
||||
playerUser.Dismount();
|
||||
|
||||
playerUser.PlayerTalkClass.ClearMenus();
|
||||
if (GetAI().GossipHello(playerUser))
|
||||
return;
|
||||
|
||||
@@ -256,6 +256,10 @@ namespace Game.Entities
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case GameObjectTypes.Mailbox:
|
||||
return true;
|
||||
case GameObjectTypes.BarberChair:
|
||||
return false;
|
||||
case GameObjectTypes.QuestGiver:
|
||||
return QuestGiver.allowMounted != 0;
|
||||
case GameObjectTypes.Text:
|
||||
|
||||
@@ -2584,7 +2584,7 @@ namespace Game.Entities
|
||||
} while (spellsResult.NextRow());
|
||||
}
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, $"Loaded {mServersideSpellNames} serverside spells {Time.GetMSTimeDiffToNow(oldMSTime)} ms");
|
||||
Log.outInfo(LogFilter.ServerLoading, $"Loaded {mServersideSpellNames.Count} serverside spells {Time.GetMSTimeDiffToNow(oldMSTime)} ms");
|
||||
}
|
||||
|
||||
public void LoadSpellInfoCustomAttributes()
|
||||
|
||||
Reference in New Issue
Block a user