Merge pull request #306 from RedSkull-666/patch-2

Update PlayerMethods.h
This commit is contained in:
Rochet2
2020-03-02 19:50:38 +02:00
committed by GitHub

View File

@@ -247,7 +247,11 @@ namespace LuaPlayer
*/
int CanSpeak(lua_State* L, Player* player)
{
#ifdef TRINITY
Eluna::Push(L, player->GetSession()->CanSpeak());
#else
Eluna::Push(L, player->CanSpeak());
#endif
return 1;
}