mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
feat(Core/Anticheat): Preparation to implement new passive anticheat … (#5516)
This commit is contained in:
@@ -88,9 +88,15 @@ public:
|
||||
|
||||
WorldPacket data(12);
|
||||
if (strncmp(args, "on", 3) == 0)
|
||||
{
|
||||
data.SetOpcode(SMSG_MOVE_SET_CAN_FLY);
|
||||
sScriptMgr->AnticheatSetCanFlybyServer(target, true);
|
||||
}
|
||||
else if (strncmp(args, "off", 4) == 0)
|
||||
{
|
||||
data.SetOpcode(SMSG_MOVE_UNSET_CAN_FLY);
|
||||
sScriptMgr->AnticheatSetCanFlybyServer(target, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
handler->SendSysMessage(LANG_USE_BOL);
|
||||
|
||||
Reference in New Issue
Block a user