Revert "fix(Core/Spells): Fix spellclick (#8232)" (#10483)

This reverts commit faa4035de7.
This commit is contained in:
Nefertumm 2022-02-01 18:01:42 -03:00 committed by GitHub
parent 0ca0a85c2f
commit dfa28e4f7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;