Core/Misc: Moved CanSpeak() method to WorldSession class

Port From (https://github.com/TrinityCore/TrinityCore/commit/93aa30f4474254b9db69025e7864a124028273c0)
This commit is contained in:
hondacrx
2020-02-09 16:58:40 -05:00
parent 0c919ad97d
commit 14b7ac6f67
4 changed files with 8 additions and 8 deletions
-5
View File
@@ -5783,11 +5783,6 @@ namespace Game.Entities
UpdateItemLevelAreaBasedScaling();
}
public bool CanSpeak()
{
return GetSession().m_muteTime <= Time.UnixTime;
}
public void RemoveSocial()
{
Global.SocialMgr.RemovePlayerSocial(GetGUID());