diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 3a16315..095f384 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -692,8 +692,8 @@ void AnticheatMgr::BuildReport(Player* player, uint16 reportType) player->CastSpell(player, SHACKLES); // Shackle him in place to ensure no exploit happens for jail break attempt Aura* dungdesert = player->AddAura(LFG_SPELL_DUNGEON_DESERTER, player);// LFG_SPELL_DUNGEON_DESERTER Aura* bgdesert = player->AddAura(BG_SPELL_DESERTER, player);// BG_SPELL_DESERTER - dungdesert->SetDuration(-1000 * IN_MILLISECONDS); - bgdesert->SetDuration(-1000 * IN_MILLISECONDS); + dungdesert->SetDuration(-1); + bgdesert->SetDuration(-1); if (sConfigMgr->GetOption("Anticheat.AnnounceJail", true)) { diff --git a/src/cs_anticheat.cpp b/src/cs_anticheat.cpp index cb7c028..2b5f187 100644 --- a/src/cs_anticheat.cpp +++ b/src/cs_anticheat.cpp @@ -139,8 +139,8 @@ public: pTarget->CastSpell(pTarget, SHACKLES); // Shackle him in place to ensure no exploit happens for jail break attempt Aura* dungdesert = pTarget->AddAura(LFG_SPELL_DUNGEON_DESERTER, pTarget);// LFG_SPELL_DUNGEON_DESERTER Aura* bgdesert = pTarget->AddAura(BG_SPELL_DESERTER, pTarget);// BG_SPELL_DESERTER - dungdesert->SetDuration(-1000 * IN_MILLISECONDS); - bgdesert->SetDuration(-1000 * IN_MILLISECONDS); + dungdesert->SetDuration(-1); + bgdesert->SetDuration(-1); return true; }