mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-02 14:29:07 +01:00
%jobsr_user_jexp_int_[jobname]% placeholder for clean exp number
This commit is contained in:
parent
36957f83b3
commit
80aad6ea49
@ -28,6 +28,7 @@ import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.Random;
|
||||
import java.util.UUID;
|
||||
import java.util.WeakHashMap;
|
||||
import java.util.logging.Logger;
|
||||
|
@ -79,6 +79,7 @@ public class Placeholder {
|
||||
user_jmexp_$1("jname/number"),
|
||||
user_jprogress_$1("jname/number"),
|
||||
user_jexp_rounded_$1("jname/number"),
|
||||
user_jexp_int_$1("jname/number"),
|
||||
user_jmaxexp_$1("jname/number"),
|
||||
user_jexpunf_$1("jname/number"),
|
||||
user_jmaxexpunf_$1("jname/number"),
|
||||
@ -530,6 +531,8 @@ public class Placeholder {
|
||||
return j == null ? "" : Jobs.getCommandManager().jobProgressMessage(j.getMaxExperience(), j.getExperience());
|
||||
case user_jexp_rounded_$1:
|
||||
return j == null ? "0" : fFormat.format(j.getExperience());
|
||||
case user_jexp_int_$1:
|
||||
return j == null ? "0" : Integer.toString((int) j.getExperience());
|
||||
case user_jmaxexp_$1:
|
||||
return j == null ? "0" : format.format(j.getMaxExperience());
|
||||
case user_jexpunf_$1:
|
||||
|
Loading…
Reference in New Issue
Block a user