Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
acidmanifesto committed Feb 21, 2024
1 parent 5e6357e commit 9055176
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/server/game/Anticheat/AnticheatMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "Battleground.h"
#include "DatabaseEnv.h"
#include "DBCStores.h"
#include "Log.h"
#include "Map.h"
#include "MapManager.h"
#include "MotionMaster.h"
Expand Down Expand Up @@ -1775,7 +1774,6 @@ void AnticheatMgr::BuildReport(Player* player, uint8 reportType)

player->TeleportTo(loc);// we defined loc as the jail location so we tele them there
player->SetHomebind(loc, 876);// GM Jail Homebind location
TC_LOG_INFO("anticheat", "AnticheatMgr:: Jail Command used on player {} ({})", player->GetName().c_str(), player->GetGUID().ToString());
player->CastSpell(player, SHACKLES);// shackle him in place to ensure no exploit happens for jail break attempt

if (Aura* dungdesert = player->AddAura(LFG_SPELL_DUNGEON_DESERTER, player))// LFG_SPELL_DUNGEON_DESERTER
Expand Down
1 change: 0 additions & 1 deletion src/server/scripts/Commands/cs_anticheat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class anticheat_commandscript : public CommandScript
WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f);// GM Jail Location
pTarget->TeleportTo(loc);
pTarget->SetHomebind(loc, 876);// GM Jail Homebind location
TC_LOG_INFO("anticheat", "AnticheatMgr:: Jail Command used on player {} ({})", player->GetName().c_str(), player->GetGUID().ToString());
pTarget->CastSpell(pTarget, SHACKLES);// shackle him in place to ensure no exploit happens for jail break attempt
if (Aura* dungdesert = pTarget->AddAura(LFG_SPELL_DUNGEON_DESERTER, pTarget))// LFG_SPELL_DUNGEON_DESERTER
{
Expand Down

0 comments on commit 9055176

Please sign in to comment.