Fix format parsing in /suicide (Fixes #5662)

This commit is contained in:
Josh Roy 2024-02-11 20:57:25 -05:00
parent ac0ba8890f
commit 1dccfbfcee

View File

@ -19,7 +19,7 @@ public class Commandsuicide extends EssentialsCommand {
user.getBase().setHealth(0);
user.sendTl("suicideMessage");
user.setDisplayNick();
ess.broadcastTl(user, "suicideSuccess", user.getDisplayName());
ess.broadcastTl(user, "suicideSuccess", new Object[]{user.getDisplayName()});
}
@Override