diff --git a/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java b/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java index ddf843ad..6bf40409 100644 --- a/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java +++ b/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java @@ -504,7 +504,7 @@ public class Placeholder { case plimit_tleft_$1: return TimeManage.to24hourShort(user.getPaymentLimit().getLeftTime(CurrencyType.getByName(keyValue))); case user_jlevel_$1: - return j == null ? "0" : Integer.toString(j.getLevel()); + return j == null ? "0" : j.getLevelFormatted(); case user_jexp_$1: return j == null ? "0" : format.format(j.getExperience()); case user_jexp_rounded_$1: diff --git a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index 58cbd84f..14ce4842 100644 --- a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -1629,7 +1629,7 @@ public final class JobsPaymentListener implements Listener { if (level.getLevel() == level.getMaximumLevel()) { Jobs.action(jPlayer, new BlockActionInfo(block, ActionType.COLLECT), block); } - } else if (cmat == CMIMaterial.SWEET_BERRY_BUSH && hand != CMIMaterial.BONE_MEAL.getMaterial()) { + } else if ((cmat == CMIMaterial.SWEET_BERRY_BUSH || cmat == CMIMaterial.GLOW_BERRIES) && hand != CMIMaterial.BONE_MEAL.getMaterial()) { Ageable age = (Ageable) block.getBlockData(); Jobs.action(jPlayer, new BlockCollectInfo(block, ActionType.COLLECT, age.getAge()), block); }