From e123b7610839905d96f8e8142f1796fcb478e247 Mon Sep 17 00:00:00 2001 From: HappyPikachu Date: Fri, 15 Jul 2016 18:21:28 -0400 Subject: [PATCH] Fix unset block amounts showing NULL in menu --- .../me/blackvein/quests/prompts/CreateStagePrompt.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java b/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java index 385dd98d6..35d662e78 100644 --- a/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java +++ b/src/main/java/me/blackvein/quests/prompts/CreateStagePrompt.java @@ -899,7 +899,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { String text = GOLD + "- " + Lang.get("stageEditorDamageBlocks") + " -\n"; if (context.getSessionData(pref + CK.S_DAMAGE_NAMES) == null) { text += BLUE + "" + BOLD + "1" + RESET + YELLOW + " - " + Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noneSet") + ")\n"; - text += GRAY + "2 - " + Lang.get("stageEditorSetDamageAmounts") + " (" + Lang.get("noNamesSet") + ")\n"; + text += GRAY + "2 - " + Lang.get("stageEditorSetDamageAmounts") + " (" + Lang.get("noNameSet") + ")\n"; text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get("clear") + "\n"; text += BLUE + "" + BOLD + "4" + RESET + YELLOW + " - " + Lang.get("done"); } else { @@ -1093,7 +1093,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { String text = GOLD + "- " + Lang.get("stageEditorPlaceBlocks") + " -\n"; if (context.getSessionData(pref + CK.S_PLACE_NAMES) == null) { text += BLUE + "" + BOLD + "1" + RESET + YELLOW + " - " + Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noneSet") + ")\n"; - text += GRAY + "2 - " + Lang.get("stageEditorSetPlaceAmounts") + " (" + Lang.get("noNamesSet") + ")\n"; + text += GRAY + "2 - " + Lang.get("stageEditorSetPlaceAmounts") + " (" + Lang.get("noNameSet") + ")\n"; text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get("clear") + "\n"; text += BLUE + "" + BOLD + "4" + RESET + YELLOW + " - " + Lang.get("done"); } else { @@ -1287,7 +1287,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { String text = GOLD + "- " + Lang.get("stageEditorUseBlocks") + " -\n"; if (context.getSessionData(pref + CK.S_USE_NAMES) == null) { text += BLUE + "" + BOLD + "1" + RESET + YELLOW + " - " + Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noneSet") + ")\n"; - text += GRAY + "2 - " + Lang.get("stageEditorSetUseAmounts") + " (" + Lang.get("noNamesSet") + ")\n"; + text += GRAY + "2 - " + Lang.get("stageEditorSetUseAmounts") + " (" + Lang.get("noNameSet") + ")\n"; text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get("clear") + "\n"; text += BLUE + "" + BOLD + "4" + RESET + YELLOW + " - " + Lang.get("done"); } else { @@ -1481,7 +1481,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil { String text = GOLD + "- " + Lang.get("stageEditorCutBlocks") + " -\n"; if (context.getSessionData(pref + CK.S_CUT_NAMES) == null) { text += BLUE + "" + BOLD + "1" + RESET + YELLOW + " - " + Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noneSet") + ")\n"; - text += GRAY + "2 - " + Lang.get("stageEditorSetCutAmounts") + " (" + Lang.get("noNamesSet") + ")\n"; + text += GRAY + "2 - " + Lang.get("stageEditorSetCutAmounts") + " (" + Lang.get("noNameSet") + ")\n"; text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get("clear") + "\n"; text += BLUE + "" + BOLD + "4" + RESET + YELLOW + " - " + Lang.get("done"); } else {