Skip to content

Commit

Permalink
fixed reply command
Browse files Browse the repository at this point in the history
  • Loading branch information
bierdosenhalter committed Nov 29, 2024
1 parent 9a5885b commit 2856845
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.zeroBzeroT.chatCo</groupId>
<artifactId>ChatCoPlus</artifactId>
<version>1.0.5</version>
<version>1.0.6</version>
<packaging>jar</packaging>
<name>${project.artifactId}</name>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/zeroBzeroT/chatCo/Whispers.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public boolean onCommand(final @NotNull Main plugin, final @NotNull CommandSende
}

return true;
} else if (plugin.getConfig().getBoolean("ChatCo.replyCommands", true) && (cmd.getName().equalsIgnoreCase("/r") || cmd.getName().equalsIgnoreCase("/reply"))) {
} else if (plugin.getConfig().getBoolean("ChatCo.replyCommands", true) && (cmd.getName().equalsIgnoreCase("r") || cmd.getName().equalsIgnoreCase("reply"))) {
if (args.length == 0) {
sender.sendMessage(Component.text("Usage: /r <message>", NamedTextColor.YELLOW));
return true;
Expand Down

0 comments on commit 2856845

Please sign in to comment.