Fix build

This commit is contained in:
Hondacrx
2025-12-08 14:23:56 -05:00
parent 97e2643eae
commit 17759869bb
3 changed files with 11 additions and 9 deletions
+6 -3
View File
@@ -653,9 +653,12 @@ namespace Game
[WorldPacketHandler(ClientOpcodes.GuildSetGuildMaster)]
void HandleGuildSetGuildMaster(GuildSetGuildMaster packet)
{
Guild guild = GetPlayer().GetGuild();
if (guild != null)
guild.HandleSetNewGuildMaster(this, packet.NewMasterName, false);
if (ObjectManager.NormalizePlayerName(ref packet.NewMasterName))
{
Guild guild = GetPlayer().GetGuild();
if (guild != null)
guild.HandleSetNewGuildMaster(this, packet.NewMasterName, false);
}
}
[WorldPacketHandler(ClientOpcodes.GuildSetAchievementTracking)]