Update commands/tps.js

This commit is contained in:
4Parker02991 2024-01-27 10:08:29 -05:00
parent bbeb0e5e80
commit 64864640f1

View file

@ -12,7 +12,7 @@ module.exports = {
const args = context.arguments
switch (args[0]) {
case 'on':
if(!bot.options.Core.CorelessMode){
if(bot.options.Core.CorelessMode){
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.CorelessMode){
throw new CommandError('Coreless mode is active can not execute command!')
}else{
bot.tps.off()