File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/main/kotlin/platform/fabric/reference Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,12 @@ class FabricClientUseScopeEnlarger : UseScopeEnlarger() {
4343
4444 if (loomData.splitMinecraftJar) {
4545 return GlobalSearchScope .filesScope(element.project) {
46- DumbService .getInstance(module.project).runReadActionInSmartMode(Computable {
47- val moduleWithDeps = GlobalSearchScope .moduleWithDependenciesScope(module)
48- FilenameIndex .getVirtualFilesByName(FabricConstants .FABRIC_MOD_JSON , moduleWithDeps)
49- })
46+ DumbService .getInstance(module.project).runReadActionInSmartMode(
47+ Computable {
48+ val moduleWithDeps = GlobalSearchScope .moduleWithDependenciesScope(module)
49+ FilenameIndex .getVirtualFilesByName(FabricConstants .FABRIC_MOD_JSON , moduleWithDeps)
50+ }
51+ )
5052 }
5153 }
5254
You can’t perform that action at this time.
0 commit comments