We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c40bca commit bb17ecaCopy full SHA for bb17eca
src/main/kotlin/com/mairwunnx/projectessentials/core/helpers/ModPathHelper.kt
@@ -21,18 +21,12 @@ internal val root: String
21
var rootPath = ""
22
DistExecutor.runWhenOn(Dist.CLIENT) {
23
Runnable {
24
- rootPath =
25
- getRootPath(
26
- ForgeRootPaths.CLIENT
27
- )
+ rootPath = getRootPath(ForgeRootPaths.CLIENT)
28
}
29
30
DistExecutor.runWhenOn(Dist.DEDICATED_SERVER) {
31
32
33
34
- ForgeRootPaths.SERVER
35
+ rootPath = getRootPath(ForgeRootPaths.SERVER)
36
37
38
return rootPath
0 commit comments