mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
[7768] Add check to prevent set homebind to instance map. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -441,6 +441,10 @@ void WorldSession::HandleBinderActivateOpcode( WorldPacket & recv_data )
|
||||
|
||||
void WorldSession::SendBindPoint(Creature *npc)
|
||||
{
|
||||
// prevent set homebind to instances in any case
|
||||
if(sMapStore.LookupEntry(GetPlayer()->GetMapId())->Instanceable())
|
||||
return;
|
||||
|
||||
uint32 bindspell = 3286;
|
||||
uint32 zone_id = _player->GetZoneId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user