Skip to content

Commit

Permalink
Actually fixed toomanyrunes issue
Browse files Browse the repository at this point in the history
AAAAAAAAAAAA
  • Loading branch information
eugenethreat committed Jan 25, 2021
1 parent 6682460 commit 733794d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/main/java/org/example/puller/RunePuller.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public ArrayList<String> returnRunes(String champ) {
}

//if runeNames is >9 (pulled too many) prune it
if(runeNames.size() > 9){
for(int x = 9 ; 9 < runeNames.size() ; x++){
if(runeNames.size() > 8){
for(int x = 8 ; x < runeNames.size() ; x++){
runeNames.remove(x);
}
}
Expand Down
Binary file modified target/classes/org/example/puller/RunePuller.class
Binary file not shown.

0 comments on commit 733794d

Please sign in to comment.