mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7768] Add check to prevent set homebind to instance map.
This commit is contained in:
parent
c0bb0fd09d
commit
881cceff8c
2 changed files with 5 additions and 1 deletions
|
|
@ -434,6 +434,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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue