temp disable anticheat

This commit is contained in:
hydrant
2021-04-24 02:07:29 +02:00
parent 198de036cf
commit c9b255ee97
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
}); });
mp.events.add("client:checkInvincible", () => { mp.events.add("client:checkInvincible", () => {
if (mp.players.local.dimension == 0) return //if (mp.players.local.dimension == 0) return
if (!Behaviour.active) return if (!Behaviour.active) return
var healthBefore = Behaviour.health var healthBefore = Behaviour.health
mp.players.local.applyDamageTo(1, true); mp.players.local.applyDamageTo(1, true);

View File

@@ -268,7 +268,7 @@ import animationSync from './util/animationSync';
animationSync(); animationSync();
import antiCheat from './admin/anticheat'; import antiCheat from './admin/anticheat';
antiCheat(globalData); //antiCheat(globalData);
import antiAfk from './Player/antiafk'; import antiAfk from './Player/antiafk';
antiAfk(globalData); antiAfk(globalData);