From 06746a210b10d483c84df2440906e2d934aeef1c Mon Sep 17 00:00:00 2001 From: 4Parker02991 <4parker02991@noreply.localhost> Date: Sat, 27 Jan 2024 11:10:50 -0500 Subject: [PATCH] Update commands/tpr.js --- commands/tpr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/tpr.js b/commands/tpr.js index d96e70f..1cb0fa9 100644 --- a/commands/tpr.js +++ b/commands/tpr.js @@ -14,7 +14,7 @@ const source = context.source const x = between(-1_000_000, 1_000_000) const y = 100 const z = between(-1_000_000, 1_000_000) -if (bot.options.Core.CorelessMode){ +if (!bot.options.Core.enabled){ throw new CommandError('Coreless mode is active can not execute command!') }else{ source.sendFeedback(`Randomly Teleported: ${sender.profile.name} to x:${x} y:${y} z:${z} `)