Update installed string, part 2

This commit is contained in:
PikaMug 2019-08-05 14:18:04 -04:00
parent 5a12723428
commit a7c03b55c0
3 changed files with 5 additions and 8 deletions

View File

@ -115,7 +115,7 @@ public class RequirementsPrompt extends FixedSetPrompt {
} }
} }
} else { } else {
text += ChatColor.GRAY + "" + ChatColor.BOLD + "7" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("reqSetMcMMO") + " (" + Lang.get("reqNoMcMMO") + ")\n"; text += ChatColor.GRAY + "" + ChatColor.BOLD + "7" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("reqSetMcMMO") + " (" + Lang.get("notInstalled") + ")\n";
} }
if (plugin.getDependencies().getHeroes() != null) { if (plugin.getDependencies().getHeroes() != null) {
if (context.getSessionData(CK.REQ_HEROES_PRIMARY_CLASS) == null && context.getSessionData(CK.REQ_HEROES_SECONDARY_CLASS) == null) { if (context.getSessionData(CK.REQ_HEROES_PRIMARY_CLASS) == null && context.getSessionData(CK.REQ_HEROES_SECONDARY_CLASS) == null) {
@ -130,7 +130,7 @@ public class RequirementsPrompt extends FixedSetPrompt {
} }
} }
} else { } else {
text += ChatColor.GRAY + "" + ChatColor.BOLD + "8" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("reqSetHeroes") + " (" + Lang.get("reqNoHeroes") + ")\n"; text += ChatColor.GRAY + "" + ChatColor.BOLD + "8" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("reqSetHeroes") + " (" + Lang.get("notInstalled") + ")\n";
} }
if (context.getSessionData(CK.REQ_CUSTOM) == null) { if (context.getSessionData(CK.REQ_CUSTOM) == null) {
text += ChatColor.BLUE + "" + ChatColor.BOLD + "9 - " + ChatColor.RESET + ChatColor.ITALIC + ChatColor.DARK_PURPLE + Lang.get("reqSetCustom") + " (" + Lang.get("noneSet") + ")\n"; text += ChatColor.BLUE + "" + ChatColor.BOLD + "9 - " + ChatColor.RESET + ChatColor.ITALIC + ChatColor.DARK_PURPLE + Lang.get("reqSetCustom") + " (" + Lang.get("noneSet") + ")\n";

View File

@ -114,7 +114,7 @@ public class RewardsPrompt extends FixedSetPrompt {
} }
} }
} else { } else {
text += ChatColor.GRAY + "" + ChatColor.BOLD + "7" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("rewSetMcMMO") + " (" + Lang.get("reqNoMcMMO") + ")\n"; text += ChatColor.GRAY + "" + ChatColor.BOLD + "7" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("rewSetMcMMO") + " (" + Lang.get("notInstalled") + ")\n";
} }
if (plugin.getDependencies().getHeroes() != null) { if (plugin.getDependencies().getHeroes() != null) {
if (context.getSessionData(CK.REW_HEROES_CLASSES) == null) { if (context.getSessionData(CK.REW_HEROES_CLASSES) == null) {
@ -128,7 +128,7 @@ public class RewardsPrompt extends FixedSetPrompt {
} }
} }
} else { } else {
text += ChatColor.GRAY + "" + ChatColor.BOLD + "8" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("rewSetHeroes") + " (" + Lang.get("reqNoHeroes") + ")\n"; text += ChatColor.GRAY + "" + ChatColor.BOLD + "8" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("rewSetHeroes") + " (" + Lang.get("notInstalled") + ")\n";
} }
if (plugin.getDependencies().getPhatLoots() != null) { if (plugin.getDependencies().getPhatLoots() != null) {
if (context.getSessionData(CK.REW_PHAT_LOOTS) == null) { if (context.getSessionData(CK.REW_PHAT_LOOTS) == null) {
@ -141,7 +141,7 @@ public class RewardsPrompt extends FixedSetPrompt {
} }
} }
} else { } else {
text += ChatColor.GRAY + "" + ChatColor.BOLD + "9" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("rewSetPhat") + " (" + Lang.get("rewNoPhat") + ")\n"; text += ChatColor.GRAY + "" + ChatColor.BOLD + "9" + ChatColor.RESET + ChatColor.GRAY + " - " + Lang.get("rewSetPhat") + " (" + Lang.get("notInstalled") + ")\n";
} }
if (context.getSessionData(CK.REW_CUSTOM) == null) { if (context.getSessionData(CK.REW_CUSTOM) == null) {
text += ChatColor.BLUE + "" + ChatColor.BOLD + "10 - " + ChatColor.RESET + ChatColor.ITALIC + ChatColor.DARK_PURPLE + Lang.get("rewSetCustom") + " (" + Lang.get("noneSet") + ")\n"; text += ChatColor.BLUE + "" + ChatColor.BOLD + "10 - " + ChatColor.RESET + ChatColor.ITALIC + ChatColor.DARK_PURPLE + Lang.get("rewSetCustom") + " (" + Lang.get("noneSet") + ")\n";

View File

@ -469,8 +469,6 @@ reqNone: "No requirements set"
reqNotANumber: "<input> is not a number!" reqNotANumber: "<input> is not a number!"
reqMustAddItem: "You must add at least one item first!" reqMustAddItem: "You must add at least one item first!"
reqNoMessage: "You must set a fail requirements message!" reqNoMessage: "You must set a fail requirements message!"
reqNoMcMMO: "mcMMO Classic not installed"
reqNoHeroes: "Heroes not installed"
plnStart: "Set start date" plnStart: "Set start date"
plnEnd: "Set end date" plnEnd: "Set end date"
plnRepeat: "Set repeat cycle" plnRepeat: "Set repeat cycle"
@ -530,7 +528,6 @@ rewPhatLootsCleared: "PhatLoots reward cleared."
rewCustomAlreadyAdded: "That custom reward has already been added!" rewCustomAlreadyAdded: "That custom reward has already been added!"
rewCustomNotFound: "Custom reward module not found." rewCustomNotFound: "Custom reward module not found."
rewCustomCleared: "Custom rewards cleared." rewCustomCleared: "Custom rewards cleared."
rewNoPhat: "PhatLoots not installed"
itemCreateLoadHand: "Load item in hand" itemCreateLoadHand: "Load item in hand"
itemCreateSetName: "Set name" itemCreateSetName: "Set name"
itemCreateSetAmount: "Set amount" itemCreateSetAmount: "Set amount"