Core/Misc: Moved CanSpeak() method to WorldSession class
Port From (https://github.com/TrinityCore/TrinityCore/commit/93aa30f4474254b9db69025e7864a124028273c0)
This commit is contained in:
@@ -554,6 +554,11 @@ namespace Game
|
||||
SendPacket(packet);
|
||||
}
|
||||
|
||||
public bool CanSpeak()
|
||||
{
|
||||
return m_muteTime <= GameTime.GetGameTime();
|
||||
}
|
||||
|
||||
public void SendNotification(CypherStrings str, params object[] args)
|
||||
{
|
||||
SendNotification(Global.ObjectMgr.GetCypherString(str), args);
|
||||
|
||||
Reference in New Issue
Block a user