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`) } }