From 28ca789856873606a44e7e2a8d7bde4c6937b24b Mon Sep 17 00:00:00 2001 From: RedNesto Date: Thu, 28 Nov 2024 14:15:52 +0100 Subject: [PATCH] Fix #2406 and fix #2397 --- .../platform/fabric/reference/FabricClientUseScopeEnlarger.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt b/src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt index fef41cd83..c3b5827cf 100644 --- a/src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt +++ b/src/main/kotlin/platform/fabric/reference/FabricClientUseScopeEnlarger.kt @@ -49,7 +49,7 @@ class FabricClientUseScopeEnlarger : UseScopeEnlarger() { val moduleWithDeps = GlobalSearchScope.moduleWithDependenciesScope(module) FilenameIndex.getVirtualFilesByName(FabricConstants.FABRIC_MOD_JSON, moduleWithDeps) } - ).inSmartMode(element.project).executeSynchronously() + ).executeSynchronously() } }