From d3cfdf1838fdfedd86f0b433ed053c3e68814392 Mon Sep 17 00:00:00 2001 From: 4Parker02991 <4parker02991@noreply.localhost> Date: Sat, 27 Jan 2024 11:11:54 -0500 Subject: [PATCH] Update commands/tps.js --- commands/tps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/tps.js b/commands/tps.js index ae2a3f8..a63610e 100644 --- a/commands/tps.js +++ b/commands/tps.js @@ -12,7 +12,7 @@ module.exports = { const args = context.arguments switch (args[0]) { case 'on': - if(bot.options.Core.CorelessMode){ + if(!bot.options.Core.enabled){ throw new CommandError('Coreless mode is active can not execute command!') }else{ bot.tps.on() @@ -21,7 +21,7 @@ module.exports = { } break case 'off': - if(bot.options.Core.CorelessMode){ + if(!bot.options.Core.enabled){ throw new CommandError('Coreless mode is active can not execute command!') }else{ bot.tps.off()