Skip to content

Commit

Permalink
Address code review comments. Organize methods within ChoiceManager.
Browse files Browse the repository at this point in the history
  • Loading branch information
Veracity0 committed May 24, 2022
1 parent f2dc9b5 commit 864ba4c
Show file tree
Hide file tree
Showing 3 changed files with 410 additions and 378 deletions.
3 changes: 1 addition & 2 deletions src/net/sourceforge/kolmafia/RequestEditorKit.java
Expand Up @@ -1902,8 +1902,7 @@ private static void addChoiceSpoilers(final String location, final StringBuffer
StringBuilder spoilerBuffer = new StringBuilder(spoiler.toString());

// If this decision has an item associated with it, annotate it
ChoiceAdventures.Option option = ((ChoiceAdventures.Option) spoiler);
AdventureResult[] items = option.getItems();
AdventureResult[] items = spoiler.getItems();

// If this decision leads to one or more item...
for (int it = 0; it < items.length; it++) {
Expand Down

0 comments on commit 864ba4c

Please sign in to comment.