Skip to content

Commit a046ceb

Browse files
committed
fix: CommandManager_Mixin
1 parent 1140a51 commit a046ceb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ loader_version=0.17.3
1212
loader_requirement_version=>=0.15
1313

1414
# Mod Metadata
15-
mod_version=1.9.0
15+
mod_version=2.0.0
1616
maven_group=io.github.optijava
1717
archives_base_name=opt-carpet-addition

src/main/java/io/github/optijava/opt_carpet_addition/mixins/rule/commandLogger/CommandManager_Mixin.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void injectExecute(ServerCommandSource commandSource, String command, Cal
7474

7575
@Unique
7676
private void logCommand(String command, ServerCommandSource commandSource){
77-
CommandManager_Mixin.LOGGER.info("[OCA Command Logger] %s submit command: %s".formatted(commandSource.getName(), command));
77+
CommandManager_Mixin.LOGGER.info("[OCA Command Logger] {} submit command: {}", commandSource.getName(), command);
7878

7979
if (OptCarpetSettings.commandLoggerBroadcastToPlayer.equals("true")) {
8080
Messenger.print_server_message(CarpetServer.minecraft_server, Messenger.c(
@@ -91,7 +91,6 @@ private void logCommand(String command, ServerCommandSource commandSource){
9191
"gi : " + command + "]"
9292
));
9393
}
94-
9594
});
9695
}
9796
}

0 commit comments

Comments
 (0)