diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/thedarkcolour/kotlinforforge/KotlinLanguageProvider.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinLanguageProvider.kt b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinLanguageProvider.kt index e860497..c549580 100644 --- a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinLanguageProvider.kt +++ b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinLanguageProvider.kt @@ -30,7 +30,7 @@ class KotlinLanguageProvider : FMLJavaModLanguageProvider() { return "kotlinforforge" } - internal class KotlinModTarget internal constructor(private val className: String, val modId: String) : IModLanguageProvider.IModLanguageLoader { + class KotlinModTarget constructor(private val className: String, val modId: String) : IModLanguageProvider.IModLanguageLoader { @Suppress("UNCHECKED_CAST") override fun <T> loadMod(info: IModInfo, modClassLoader: ClassLoader, modFileScanResults: ModFileScanData): T { val ktContainer = Class.forName("thedarkcolour.kotlinforforge.KotlinModContainer", true, Thread.currentThread().contextClassLoader) |