We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 411aeef + 806609a commit ae2dc5aCopy full SHA for ae2dc5a
manifest.json
@@ -20,11 +20,11 @@
20
"dependencies": [
21
{
22
"uuid": "6f4b6893-1bb6-42fd-b458-7fa3d0c89616",
23
- "version": [ 0, 1, 0 ]
+ "version": "1.0.0-beta"
24
},
25
26
"uuid": "b26a4d4c-afdf-4690-88f8-931846312678",
27
28
}
29
]
30
scripts/index.js
@@ -1,9 +1,13 @@
1
-import { world, Player } from 'mojang-minecraft';
+import { system, world, Player } from 'mojang-minecraft';
2
import './ac.js';
3
import config from './config.js';
4
5
console.warn('[TN-AntiCheat] index.js >> loaded');
6
7
+system.events.beforeWatchdogTerminate.subscribe(ev => {
8
+ ev.cancel = true;
9
+});
10
+
11
Player.prototype.kick = function (reason = 'No reason') {
12
if (this.hasTag(config.tag.op)) return;
13
try {
0 commit comments