aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthedarkcolour <30441001+thedarkcolour@users.noreply.github.com>2019-11-11 15:48:08 -0800
committerthedarkcolour <30441001+thedarkcolour@users.noreply.github.com>2019-11-11 15:48:08 -0800
commitf1368c2d17c8ad4025927aeab762aab0ac1cb65b (patch)
tree7cf3ed6017492b9ee08ba08e055236d9897e52f4 /src
parent885e4f7e6a760943c5978204f8634057ad01a7db (diff)
downloadKotlinForForge-f1368c2d17c8ad4025927aeab762aab0ac1cb65b.tar.gz
KotlinForForge-f1368c2d17c8ad4025927aeab762aab0ac1cb65b.tar.bz2
KotlinForForge-f1368c2d17c8ad4025927aeab762aab0ac1cb65b.zip
Adding files
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/thedarkcolour/kotlinforforge/KotlinLanguageProvider.kt2
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)