Core/PacketIO: Updated packet structures to 9.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f30afe3528441571f89cb2e1775c756774fa0cd)
This commit is contained in:
@@ -31,16 +31,12 @@ namespace Game
|
||||
Guild guild = Global.GuildMgr.GetGuildByGuid(query.GuildGuid);
|
||||
if (guild)
|
||||
{
|
||||
if (guild.IsMember(query.PlayerGuid))
|
||||
{
|
||||
guild.SendQueryResponse(this, query.PlayerGuid);
|
||||
return;
|
||||
}
|
||||
guild.SendQueryResponse(this);
|
||||
return;
|
||||
}
|
||||
|
||||
QueryGuildInfoResponse response = new();
|
||||
response.GuildGUID = query.GuildGuid;
|
||||
response.PlayerGuid = query.PlayerGuid;
|
||||
SendPacket(response);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user