1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-30 21:07:48 +01:00

Option to modify bonus special prefix

This commit is contained in:
Zrips 2021-09-13 15:25:16 +03:00
parent c7db265f9e
commit 97beb812a2
2 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class bonus implements Cmd {
}
private static void printBoost(CommandSender sender, Boost boost, BoostOf type) {
String prefix = CMIChatColor.GOLD + "*";
String prefix = Jobs.getLanguage().getMessage("command.bonus.output.specialPrefix");
if (type != BoostOf.NearSpawner && type != BoostOf.PetPay)
prefix = "";

View File

@ -185,6 +185,7 @@ public class LanguageManager {
c.get("command.bonus.output.area", " &eArea bonus: &2%money% &6%points% &e%exp%");
c.get("command.bonus.output.mcmmo", " &eMcMMO bonus: &2%money% &6%points% &e%exp%");
c.get("command.bonus.output.final", " &eFinal bonus: &2%money% &6%points% &e%exp%");
c.get("command.bonus.output.specialPrefix", "&6*");
c.get("command.bonus.output.finalExplanation", " &eDoes not include Petpay and Near spawner bonus/penalty");
c.get("command.convert.help.info",