Skip to content

Commit

Permalink
essential-loader: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed Jan 13, 2023
1 parent 6de51c5 commit c007fd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/gg/essential/essential-loader.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ when {
platform.isModLauncher -> {
dependencies {
val relocatedPackage = findProperty("essential.loader.package")?.toString() ?: throw GradleException("""
No essential loader package set.
You need to set `essential.loader.package` in the project's `gradle.properties` file to a specific package.
The recommended package is your mod's package.
A package for the Essential loader to be relocated to has not been set.
You need to set `essential.loader.package` in the project's `gradle.properties` file to a specific package where Essential's loader will be relocated to.
The recommended package is an unused package within your mod's package.
""".trimIndent())
val relocationAttribute =
registerRelocationAttribute("essential-loader-relocated") {
Expand Down

0 comments on commit c007fd0

Please sign in to comment.