Skip to content

Commit

Permalink
Actually add the value to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
DenWav committed Jul 21, 2023
1 parent 042d6db commit 159f758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/papermc/codebook/pages/FixJarPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private static <T> List<T> appendToList(final @Nullable List<T> list, final T va
list.add(value);
return list;
} else {
return new ArrayList<>(List.of());
return new ArrayList<>(List.of(value));
}
}
}

0 comments on commit 159f758

Please sign in to comment.