Skip to content

Commit

Permalink
Fixed /t and /tell after previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
pez252 committed Jan 9, 2018
1 parent 6f1d6e8 commit 69468a0
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 @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>nu.nerd</groupId>
<artifactId>nerdmessage</artifactId>
<version>1.2.4</version>
<version>1.2.5</version>
<packaging>jar</packaging>
<name>NerdMessage</name>
<description>Messaging plugin for Bukkit</description>
Expand Down
2 changes: 1 addition & 1 deletion src/nu/nerd/nerdmessage/commands/ChatCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String
if (cmd.getName().equalsIgnoreCase("msg")) {
if (label.equalsIgnoreCase("r") || label.equalsIgnoreCase("reply")) {
reply(sender, StringUtil.join(args), false, false, false);
} else if (label.equalsIgnoreCase("m") || label.equalsIgnoreCase("msg")) {
} else if (label.equalsIgnoreCase("m") || label.equalsIgnoreCase("msg") || label.equalsIgnoreCase("t") || label.equalsIgnoreCase("tell")) {
msg(sender, args[0], StringUtil.join(args, 1), false, false, false);
} else if (label.equalsIgnoreCase("rs")) {
reply(sender, StringUtil.join(args), false, true, false);
Expand Down

0 comments on commit 69468a0

Please sign in to comment.