fix(Scripts/Silithus): Stop banning people for using windstones (#9734)

This commit is contained in:
Skjalf
2021-12-16 14:41:34 -03:00
committed by GitHub
parent b7cb73fd78
commit 5a98712eb4

View File

@@ -1151,12 +1151,6 @@ public:
delete spell;
if (result != SPELL_CAST_OK)
{
if (result == SPELL_FAILED_REAGENTS)
{
std::string accountName;
AccountMgr::GetName(player->GetSession()->GetAccountId(), accountName);
sBan->BanAccount(accountName, "0s", "Wind Stone exploit", "Server");
}
return;
}
player->CastSpell(player, spellInfoTrigger->Id, false);