Skip to content

Commit

Permalink
Add back legacy gamerule commands
Browse files Browse the repository at this point in the history
  • Loading branch information
zax71 committed Feb 16, 2025
1 parent 3160ac3 commit a47125d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ final class GameruleCommand extends CoreCommand {
super(commandManager);
}

@CommandAlias("mvrule|mvgamerule")
@Subcommand("set")
@CommandPermission("multiverse.core.gamerule.set")
@CommandCompletion("@gamerules @gamerulesvalues @mvworlds:multiple|*")
Expand Down Expand Up @@ -145,6 +146,7 @@ void onGameruleSetCommand(
}
}

@CommandAlias("mvrules|mvgamerules")
@Subcommand("list")
@CommandPermission("multiverse.core.gamerule.list")
@CommandCompletion("@mvworlds|@flags:groupName=mvgamerulecommand @flags:groupName=mvgamerulecommand")
Expand Down

0 comments on commit a47125d

Please sign in to comment.