|
@@ -91,7 +91,7 @@ class Commands {
|
|
|
|
|
|
|
|
let prefixes = ["fm"];
|
|
let prefixes = ["fm"];
|
|
|
if(deps.mod.settings.fpsUtilsCommandsPrefix) prefixes.push("fps");
|
|
if(deps.mod.settings.fpsUtilsCommandsPrefix) prefixes.push("fps");
|
|
|
- if(deps.mod.settings.registerCommands) deps.mod.command.add("fm", commands, this);
|
|
|
|
|
|
|
+ if(deps.mod.settings.registerCommands) deps.mod.command.add(prefixes, commands, this);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
module.exports = Commands;
|
|
module.exports = Commands;
|