mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-03 06:57:58 +01:00
* Fixed a null bug in the location reach prompt.
>_>
This commit is contained in:
parent
caad018077
commit
52e0969a33
@ -491,7 +491,7 @@ public class EventFactory implements ConversationAbandonedListener, ColorUtil{
|
|||||||
|
|
||||||
public CreateMenuPrompt() {
|
public CreateMenuPrompt() {
|
||||||
|
|
||||||
super("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18");
|
super("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2695,7 +2695,7 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil {
|
|||||||
if (context.getSessionData(pref + CK.S_REACH_LOCATIONS) == null) {
|
if (context.getSessionData(pref + CK.S_REACH_LOCATIONS) == null) {
|
||||||
text += BLUE + "" + BOLD + "1" + RESET + YELLOW + " - " + Lang.get("stageEditorSetLocations") + " (" + Lang.get("noneSet") + ")\n";
|
text += BLUE + "" + BOLD + "1" + RESET + YELLOW + " - " + Lang.get("stageEditorSetLocations") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += GRAY + "2 - " + Lang.get("stageEditorSetLocationRadii") + " (" + Lang.get("stageEditorNoLocationsSet") + ")\n";
|
text += GRAY + "2 - " + Lang.get("stageEditorSetLocationRadii") + " (" + Lang.get("stageEditorNoLocationsSet") + ")\n";
|
||||||
text += GRAY + "3 - " + Lang.get("stageEditorSetLocationNames") + " (" + Lang.get(Lang.get("stageEditorNoLocationsSet")) + ")\n";
|
text += GRAY + "3 - " + Lang.get("stageEditorSetLocationNames") + " (" + Lang.get("stageEditorNoLocationsSet") + ")\n";
|
||||||
text += BLUE + "" + BOLD + "4" + RESET + YELLOW + " - " + Lang.get("clear") + "\n";
|
text += BLUE + "" + BOLD + "4" + RESET + YELLOW + " - " + Lang.get("clear") + "\n";
|
||||||
text += BLUE + "" + BOLD + "5" + RESET + YELLOW + " - " + Lang.get("done");
|
text += BLUE + "" + BOLD + "5" + RESET + YELLOW + " - " + Lang.get("done");
|
||||||
} else {
|
} else {
|
||||||
@ -2721,10 +2721,10 @@ public class CreateStagePrompt extends FixedSetPrompt implements ColorUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (context.getSessionData(pref + CK.S_REACH_LOCATIONS_NAMES) == null) {
|
if (context.getSessionData(pref + CK.S_REACH_LOCATIONS_NAMES) == null) {
|
||||||
text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get(Lang.get("stageEditorSetLocationNames")) + " (" + Lang.get("noneSet") + ")\n";
|
text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get("stageEditorSetLocationNames") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get(Lang.get("stageEditorSetLocationNames")) + "\n";
|
text += BLUE + "" + BOLD + "3" + RESET + YELLOW + " - " + Lang.get("stageEditorSetLocationNames") + "\n";
|
||||||
for (String s : getLocationNames(context)) {
|
for (String s : getLocationNames(context)) {
|
||||||
|
|
||||||
text += GRAY + " - " + AQUA + s + "\n";
|
text += GRAY + " - " + AQUA + s + "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user