From 255a1c31a032cc638af1215fcef80854ce76c01f Mon Sep 17 00:00:00 2001 From: Zrips Date: Thu, 25 Jan 2024 14:02:11 +0200 Subject: [PATCH] 2 new placeholders %jobsr_user_jobfull_[name/number]% and %jobsr_user_jobshort_[name/number]% --- .../java/com/gamingmesh/jobs/Placeholders/Placeholder.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java b/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java index affe1245..9024adc9 100644 --- a/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java +++ b/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java @@ -84,6 +84,8 @@ public class Placeholder { user_jmaxexpunf_$1("jname/number"), user_jmaxlvl_$1("jname/number"), user_job_$1("jname/number"), + user_jobfull_$1("jname/number"), + user_jobshort_$1("jname/number"), user_title_$1("jname/number"), user_archived_jobs_level_$1("jname/number"), user_archived_jobs_exp_$1("jname/number"), @@ -543,6 +545,10 @@ public class Placeholder { return job == null ? "no" : convert(user.isInJob(job)); case user_job_$1: return j == null ? "" : j.getJob().getName(); + case user_jobfull_$1: + return j == null ? "" : j.getJob().getDisplayName(); + case user_jobshort_$1: + return j == null ? "" : j.getJob().getShortName(); case user_title_$1: if (j == null) return "";