Skip to content

Commit

Permalink
fix: vanilla command permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jun 15, 2024
1 parent 73eb4cb commit a654849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_core/command/bedrock_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BedrockCommand::BedrockCommand(std::string name, std::string description, std::v
std::vector<std::string> aliases, std::vector<std::string> permissions)
: Command(std::move(name), std::move(description), std::move(usages), std::move(aliases), std::move(permissions))
{
setPermissions("minecraft.commands." + getName());
setPermissions("minecraft.command." + getName());
}

bool BedrockCommand::execute(CommandSender &sender, const std::vector<std::string> &args) const
Expand Down

0 comments on commit a654849

Please sign in to comment.