Skip to content

Commit

Permalink
Add missing rank requirements for registering slash commands
Browse files Browse the repository at this point in the history
  • Loading branch information
HotaruBlaze committed Feb 25, 2024
1 parent ce95bef commit 68da851
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tes3mp/scripts/custom/goTES3MP/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,12 @@ end
customCommandHooks.registerCommand("pushSlashCommand", function(pid, cmd)
commands.pushSlashCommands(pid, cmd)
end)
customCommandHooks.setRankRequirement("pushSlashCommand", 3)

customCommandHooks.registerCommand("pushAllSlashCommands", function(pid, cmd)
commands.pushAllSlashCommands(pid, cmd)
end)
customCommandHooks.setRankRequirement("pushAllSlashCommands", 3)


return commands

0 comments on commit 68da851

Please sign in to comment.