Skip to content

Commit

Permalink
fix build error for mod publishing [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Oct 25, 2024
1 parent 9c4f04f commit bd13a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ publishMods {

discord {
webhookUrl = providers.environmentVariable("DISCORD_WEBHOOK").orElse("dryrun")
content = changelog.map { "# ${mod_name} v${mod_version} for MC ${minecraft_version} has been released! \n" + it}.get().substring(0, 1999)
content = changelog.map { "# ${mod_name} v${mod_version} for MC ${minecraft_version} has been released! \n" + it}.get().take(1999)
}
}

0 comments on commit bd13a8f

Please sign in to comment.