Skip to content

Commit

Permalink
Fix /me from console (#5700)
Browse files Browse the repository at this point in the history
Fixes #5689
  • Loading branch information
pop4959 authored Feb 24, 2024
1 parent 9be27ad commit 7a9a0e6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import java.util.List;
import java.util.Set;

import static com.earth2me.essentials.I18n.tlLiteral;

public class Commandme extends EssentialsCommand {
public Commandme() {
super("me");
Expand Down Expand Up @@ -109,7 +107,7 @@ public void run(final Server server, final CommandSource sender, final String co
String message = getFinalArg(args, 0);
message = FormatUtil.replaceFormat(message);

ess.getServer().broadcastMessage(tlLiteral("action", "@", message));
ess.broadcastTl("action", "@", message);
}

@Override
Expand Down

0 comments on commit 7a9a0e6

Please sign in to comment.