From a7378304090febe306057cbd5372ce1ee217bbb1 Mon Sep 17 00:00:00 2001 From: LostLuma Date: Sun, 21 Apr 2024 20:07:20 +0200 Subject: [PATCH] Fix Fabric authors being credited wrong --- .../com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java b/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java index fc6d8a3f..72da944e 100644 --- a/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java +++ b/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java @@ -228,8 +228,8 @@ public FabricMod(ModContainer modContainer, Set modpackMods) { var authors = this.getAuthors(); var contributors = this.getContributors(); - if (!authors.isEmpty()) { - contributors.put("Author", authors); + for (var author : authors) { + contributors.put(author, List.of("Author")); } for (var contributor : contributors.entrySet()) {