From 4cb14c3bfcd1795e3bf06ffd3f4272ee49754207 Mon Sep 17 00:00:00 2001 From: Zrips Date: Tue, 23 Jan 2018 16:20:02 +0200 Subject: [PATCH] Fix for missing jobname translation --- src/main/java/com/gamingmesh/jobs/commands/list/join.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/join.java b/src/main/java/com/gamingmesh/jobs/commands/list/join.java index 1b617d0a..36ba600d 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/join.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/join.java @@ -77,7 +77,7 @@ public class join implements Cmd { if (args.length == 2 && args[1].equalsIgnoreCase("-needConfirmation")) { RawMessage rm = new RawMessage(); - rm.add(Jobs.getLanguage().getMessage("command.join.confirm"), Jobs.getLanguage().getMessage("command.join.confirm"), "jobs join " + job.getName()); + rm.add(Jobs.getLanguage().getMessage("command.join.confirm", "[jobname]", job.getName()), Jobs.getLanguage().getMessage("command.join.confirm", "[jobname]", job.getName()), "jobs join " + job.getName()); rm.show(sender); return true; }