mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
This reverts commit faa4035de7.
This commit is contained in:
@@ -627,11 +627,6 @@ void WorldSession::HandleSpellClick(WorldPacket& recvData)
|
|||||||
if (!unit)
|
if (!unit)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_player->IsHostileTo(unit))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: Unit::SetCharmedBy: 28782 is not in world but 0 is trying to charm it! -> crash
|
// TODO: Unit::SetCharmedBy: 28782 is not in world but 0 is trying to charm it! -> crash
|
||||||
if (!unit->IsInWorld())
|
if (!unit->IsInWorld())
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user