mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Merge pull request #306 from RedSkull-666/patch-2
Update PlayerMethods.h
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user