Skip to content

Commit

Permalink
capture additional data
Browse files Browse the repository at this point in the history
  • Loading branch information
lab3 committed May 26, 2023
1 parent 64a5c86 commit e35af09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private static int generateModList(CommandSourceStack source) throws CommandSynt
sb.append(",");
iModInfo.getModURL().ifPresent(sb::append);
sb.append(",");
iModInfo.getOwningFile().getConfig().getConfigElement("displayURL").ifPresent(sb::append);
iModInfo.getConfig().getConfigElement("displayURL").ifPresent(sb::append);
sb.append(",");
iModInfo.getOwningFile().getConfig().getConfigElement("issueTrackerURL").ifPresent(sb::append);
sb.append("\n");
Expand All @@ -72,7 +72,7 @@ private static int generateModList(CommandSourceStack source) throws CommandSynt
return style.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_FILE, file.getAbsolutePath()));
});

source.sendSuccess(Component.translatable("commands.irons_spellbooks.generate_mod_list.success", component), true);
source.sendSuccess(Component.translatable("commands.modlist.generate_mod_list.success", component), true);

} catch (Exception e) {
Modlist.LOGGER.info(e.getMessage());
Expand Down

0 comments on commit e35af09

Please sign in to comment.