Skip to content

Commit 3bef7ca

Browse files
committed
fix(guide): load contributors.yml from addon instead of rebar core
1 parent af416af commit 3bef7ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rebar/src/main/kotlin/io/github/pylonmc/rebar/util/RebarUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ internal fun getContributors(addon: RebarAddon): List<ContributorConfig> {
512512
return cached
513513
}
514514

515-
val config = ConfigSection.fromResource(Rebar, "contributors.yml")
515+
val config = ConfigSection.fromResource(addon.javaPlugin, "contributors.yml")
516516
val contributors = config?.get(
517517
"contributors",
518518
ConfigAdapter.LIST.from(ConfigAdapter.CONTRIBUTOR),

0 commit comments

Comments
 (0)