Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
IMB11 committed May 9, 2023
1 parent e072b43 commit 77c77be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ minecraft_version=1.19.4
yarn_mappings=1.19.4+build.2
loader_version=0.14.19
# Mod Properties
mod_version=0.1.0
mod_version=0.1.1
maven_group=com.mineblock11
archives_base_name=SimpleBroadcast
# Dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class SimpleBroadcastCommands {
public void registerCommands(CommandDispatcher<ServerCommandSource> commandDispatcher, CommandRegistryAccess registryAccess, CommandManager.RegistrationEnvironment registrationEnvironment) {
commandDispatcher.register(
literal("broadcast")
.requires(source -> source.hasPermissionLevel(4))
.then(argument("contents", StringArgumentType.string()).executes(this::quickBroadcast))
.then(literal("types")
.then(
Expand Down

0 comments on commit 77c77be

Please sign in to comment.