mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
This reverts commit faa4035de7.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user