Skip to content

Commit

Permalink
fix: restrict toggledownfall
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Mar 2, 2024
1 parent e8ae331 commit b40dbbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class TKCommand {
public static void register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context, Commands.CommandSelection selection) {
dispatcher.register(Commands.literal("toggledownfall")
.requires(cs -> cs.hasPermission(0))
.requires(cs -> Commands.LEVEL_GAMEMASTERS)
.executes(c -> {
ServerLevel level = c.getSource()
.getPlayerOrException()
Expand Down

0 comments on commit b40dbbb

Please sign in to comment.