Skip to content

Commit

Permalink
Detect ScopedServiceFactory for 1.8 / 1.9 Loom
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Dec 7, 2024
1 parent 5c3703c commit 27b256d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/kotlin/dev/architectury/plugin/loom/LoomInterface.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 27b256d

Please sign in to comment.