From a3f4409ffa76526c0458e2ba3aa0aa2cb68631f4 Mon Sep 17 00:00:00 2001 From: jasonlaubb <136591629+jasonlaubb@users.noreply.github.com> Date: Sat, 2 Dec 2023 23:00:46 +0800 Subject: [PATCH] Update Blink.ts --- src/Modules/Movement/Blink.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Modules/Movement/Blink.ts b/src/Modules/Movement/Blink.ts index d6468d527..c1a08258a 100644 --- a/src/Modules/Movement/Blink.ts +++ b/src/Modules/Movement/Blink.ts @@ -35,9 +35,9 @@ async function AntiBlink (player: Player) { if (speed > 0 && speed == lastSpeed && isLocationSame) { ++vl[player.id] - if (vl[player.id] > 10) { + if (vl[player.id] > config.antiBlink.flagVL) { if (!config.slient) player.teleport(player.location) - flag (player, "Blink", "A", 4, "kick", undefined) + flag (player, "Blink", "A", config.antiBlink.maxVL, config.antiBlink.punishment, undefined) } } else vl[player.id] = 0 } @@ -68,4 +68,4 @@ export default { system.clearRun(id) world.afterEvents.playerLeave.unsubscribe(playerLeave) } -} \ No newline at end of file +}