Core/PacketIO: fixed instance binding of gamemasters

(cherry picked from commit 231fb1d322)
(cherry picked from commit a968595977)
This commit is contained in:
MitchesD
2015-07-28 19:09:20 +02:00
committed by ariel-
parent b215184cc0
commit 100d847483
2 changed files with 7 additions and 5 deletions

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