diff --git a/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt b/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt index 758e3e890..baebaa80e 100644 --- a/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt +++ b/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt @@ -58,7 +58,7 @@ class FabricReferenceContributor : PsiReferenceContributor() { registrar.registerReferenceProvider( stringInModJson.isPropertyValue("accessWidener"), - ResourceFileReference("access widener '%s'"), + ResourceFileReference("access widener '%s'", Regex("(.+)\\.accesswidener")), ) registrar.registerReferenceProvider(