This reverts commit faa4035de7.
This commit is contained in:
parent
0ca0a85c2f
commit
dfa28e4f7d
1 changed files with 0 additions and 5 deletions
|
|
@ -627,11 +627,6 @@ void WorldSession::HandleSpellClick(WorldPacket& recvData)
|
|||
if (!unit)
|
||||
return;
|
||||
|
||||
if (_player->IsHostileTo(unit))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: Unit::SetCharmedBy: 28782 is not in world but 0 is trying to charm it! -> crash
|
||||
if (!unit->IsInWorld())
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue