From bbeb0e5e8034f507b7dfd60a97cdcc787d552f89 Mon Sep 17 00:00:00 2001 From: 4Parker02991 <4parker02991@noreply.localhost> Date: Sat, 27 Jan 2024 10:07:45 -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 1972afa..d96e70f 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.CorelessMode){ 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} `)