Skip to content

Commit 37e390a

Browse files
authored
GH-947 Fix missing permission for gamemode shortcut's (#948)
1 parent 463c0ee commit 37e390a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eternalcore-core/src/main/java/com/eternalcode/core/feature/gamemode/GameModeCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class GameModeCommand {
3030
}
3131

3232
@Execute
33+
@Permission("eternalcore.gamemode")
3334
void executeAlias(@Context Invocation<CommandSender> invocation, @Context Player player) {
3435
GameMode gameMode = this.commandConfiguration.getGameMode(invocation.label());
3536

0 commit comments

Comments
 (0)