Skip to content

Commit

Permalink
Properly display all patrons under the CC title
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfyScript committed Dec 2, 2022
1 parent a40bdfc commit 5f40b17
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public void printPatreonCredits() {
logger.info("Special thanks to my Patrons for supporting this project: ");
int linePos = 0;
StringBuilder sB = new StringBuilder();
for (Patron patron : patronList) {
String name = patron.getName();
for (int i = 0; i < patronList.size(); i++) {
String name = patronList.get(i).getName();
sB.append(name);
if (linePos == 5) {
if (linePos == 5 || i == patronList.size() - 1) {
logger.log(Level.INFO, sB.toString());
sB = new StringBuilder();
linePos = 0;
Expand Down

0 comments on commit 5f40b17

Please sign in to comment.