Skip to content

Commit fc35d80

Browse files
committed
Fix Guild rank function calls
1 parent 7ea0078 commit fc35d80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

methods/TrinityCore/PlayerMethods.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ namespace LuaPlayer
11261126
*/
11271127
int GetGuildRank(Eluna* E, Player* player) // TODO: Move to Guild Methods
11281128
{
1129-
E->Push(player->GetRank());
1129+
E->Push(player->GetGuildRank());
11301130
return 1;
11311131
}
11321132

@@ -1769,7 +1769,7 @@ namespace LuaPlayer
17691769
if (!player->GetGuildId())
17701770
return 0;
17711771

1772-
player->SetRank(rank);
1772+
player->SetGuildRank(rank);
17731773
return 0;
17741774
}
17751775

0 commit comments

Comments
 (0)