Skip to content

Commit

Permalink
Improve built-in "minecraft" mod metadata (#241)
Browse files Browse the repository at this point in the history
This moves the author credit to its own line and blanks out the description (which is redundant IMO).
  • Loading branch information
Tkain authored Feb 18, 2025
1 parent a492749 commit 7b6edd5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ public static IModFileInfo buildMinecraftModInfo(final IModFile iModFile) {
final var conf = Config.inMemory();
conf.set("modLoader", "minecraft");
conf.set("loaderVersion", "1");
conf.set("license", "Mojang Studios, All Rights Reserved");
conf.set("license", "All Rights Reserved");
final var mods = Config.inMemory();
mods.set("modId", "minecraft");
mods.set("version", FMLLoader.versionInfo().mcVersion());
mods.set("displayName", "Minecraft");
mods.set("description", "Minecraft");
mods.set("authors", "Mojang Studios");
mods.set("description", "");
conf.set("mods", List.of(mods));

final NightConfigWrapper configWrapper = new NightConfigWrapper(conf);
Expand Down

0 comments on commit 7b6edd5

Please sign in to comment.