mirror of
https://github.com/architectury/architectury-plugin.git
synced 2026-03-28 04:07:01 -05:00
Detect ScopedServiceFactory for 1.8 / 1.9 Loom
This commit is contained in:
@@ -26,6 +26,9 @@ interface LoomInterface {
|
||||
}
|
||||
|
||||
return useIfFound(
|
||||
"net.fabricmc.loom.util.service.ScopedServiceFactory",
|
||||
"dev.architectury.plugin.loom.LoomInterface11" // 1.8
|
||||
) ?: useIfFound(
|
||||
"net.fabricmc.loom.util.service.ScopedSharedServiceManager",
|
||||
"dev.architectury.plugin.loom.LoomInterface11" // 1.1
|
||||
) ?: useIfFound(
|
||||
|
||||
Reference in New Issue
Block a user