mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update GuildMethods.h
This commit is contained in:
@@ -38,7 +38,7 @@ namespace LuaGuild
|
||||
{
|
||||
if (Player* player = it->second)
|
||||
{
|
||||
if (player->GetSession() && (player->GetGuildId() == guild->GetId()))
|
||||
if (player->IsInWorld() && player->GetGuildId() == guild->GetId())
|
||||
{
|
||||
++i;
|
||||
Eluna::Push(L, i);
|
||||
|
||||
Reference in New Issue
Block a user