Skip to content

Commit 27b256d

Browse files
committed
Detect ScopedServiceFactory for 1.8 / 1.9 Loom
1 parent 5c3703c commit 27b256d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/kotlin/dev/architectury/plugin/loom/LoomInterface.kt

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ interface LoomInterface {
2626
}
2727

2828
return useIfFound(
29+
"net.fabricmc.loom.util.service.ScopedServiceFactory",
30+
"dev.architectury.plugin.loom.LoomInterface11" // 1.8
31+
) ?: useIfFound(
2932
"net.fabricmc.loom.util.service.ScopedSharedServiceManager",
3033
"dev.architectury.plugin.loom.LoomInterface11" // 1.1
3134
) ?: useIfFound(

0 commit comments

Comments
 (0)