From 3f2ea25b674d2a7fc43cac61ecb72518d0ef63ac Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sun, 5 Mar 2023 15:20:34 +0700 Subject: [PATCH] gamemodeall change yes --- commands/gamemodeall.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/gamemodeall.js b/commands/gamemodeall.js index 138ec66..e1ff018 100644 --- a/commands/gamemodeall.js +++ b/commands/gamemodeall.js @@ -1,10 +1,10 @@ module.exports = { name: 'gamemodeall', alias: [], - description: 'Gamemode everyone', + description: 'Gamemodes everyone (kinda useless now, used to be useful)', usage: ' ', trusted: 1, execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) { - bot.core.run(`minecraft:execute unless entity @s[name= run ] run gamemode ${args[1]} @a[name=!${bot.username}]`) + bot.core.run(`minecraft:gamemode ${args.join(' ')} @a`) } }