mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-09 03:18:57 +01:00
Core/Packets: use the correct opcode for GuildCommandResult packet as the JAM opcode has not been used yet according to sniffs and has a different packet structure
This commit is contained in:
@@ -402,7 +402,7 @@ void WorldSession::HandleGuildBankActivate(WorldPackets::Guild::GuildBankActivat
|
||||
if (!go)
|
||||
return;
|
||||
|
||||
Guild* const guild = GetPlayer()->GetGuild();
|
||||
Guild const* guild = GetPlayer()->GetGuild();
|
||||
if (!guild)
|
||||
{
|
||||
Guild::SendCommandResult(this, GUILD_COMMAND_VIEW_TAB, ERR_GUILD_PLAYER_NOT_IN_GUILD);
|
||||
|
||||
@@ -474,7 +474,7 @@ namespace WorldPackets
|
||||
class GuildCommandResult final : public ServerPacket
|
||||
{
|
||||
public:
|
||||
GuildCommandResult() : ServerPacket(SMSG_GUILD_COMMAND_RESULT, 9) { }
|
||||
GuildCommandResult() : ServerPacket(SMSG_GUILD_COMMAND_RESULT_2, 9) { }
|
||||
|
||||
WorldPacket const* Write() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user