mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
source clean up
This commit is contained in:
@@ -697,8 +697,7 @@ void AnticheatMgr::BuildReport(Player* player, uint16 reportType)
|
||||
data << str;
|
||||
sWorld->SendGlobalGMMessage(&data);
|
||||
|
||||
WorldLocation loc;
|
||||
loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location
|
||||
WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location
|
||||
player->TeleportTo(loc);
|
||||
player->SetHomebind(loc, 876); // GM Jail Homebind location
|
||||
player->CastSpell(player, SHACKLES); // Shackle him in place to ensure no exploit happens for jail break attempt
|
||||
|
||||
@@ -133,8 +133,7 @@ public:
|
||||
// teleport both to jail.
|
||||
handler->GetSession()->GetPlayer()->TeleportTo(1,16226.5f,16403.6f,-64.5f,3.2f);
|
||||
|
||||
WorldLocation loc;
|
||||
loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location
|
||||
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
|
||||
pTarget->CastSpell(pTarget, SHACKLES); // Shackle him in place to ensure no exploit happens for jail break attempt
|
||||
|
||||
Reference in New Issue
Block a user