#Leashable function not working

1 messages · Page 1 of 1 (latest)

mossy wedgeBOT
#

Debug result for [code](#1261319679948095509 message)

Compiler Result

Compiler found 2 errors:

<REPL0>.js:1:1 - error TS2304: Cannot find name 'mc'.

1 mc.system.runInterval(() => {
  ~~

``````ansi
<REPL0>.js:2:19 - error TS2304: Cannot find name 'mc'.

2     let players = mc.world.getAllPlayers();
                    ~~

Lint Result

There are no errors from ESLint.

#

Debug result for [code](#1261319679948095509 message)

Compiler Result

Compiler found 1 errors:

<REPL0>.js:2:19 - error TS2304: Cannot find name 'mc'.

2     let players = mc.world.getAllPlayers();
                    ~~

Lint Result

There are no errors from ESLint.

#
No Errors

No errors in [code](#1261319679948095509 message)

glacial cloud
#

Minecraft doesn't show the error, bot doesn't show the error but it doesn't work