Core/PacketIO: fixed instance binding of gamemasters

(cherry picked from commit 231fb1d322bc1c91f9227d43d3ef672605232154)
(cherry picked from commit a968595977)
This commit is contained in:
MitchesD authored and ariel- committed 2016-01-11 01:51:11 -03:00
1 parent b215184cc0
commit 100d847483
2 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -3251,8 +3251,8 @@ void InstanceMap::PermBindAllPlayers(Player* source)
WorldPacket data(SMSG_INSTANCE_SAVE_CREATED, 4);
data << uint32(0);
player->GetSession()->SendPacket(&data);
player->GetSession()->SendCalendarRaidLockout(save, true);
if (!player->IsGameMaster())
player->GetSession()->SendCalendarRaidLockout(save, true);
}
// if the leader is not in the instance the group will not get a perm bind