From a7dadf620caffabc53ae412ab54e039341ea10b1 Mon Sep 17 00:00:00 2001
From: thedarkcolour <30441001+thedarkcolour@users.noreply.github.com>
Date: Sat, 18 Apr 2020 12:13:11 -0700
Subject: Update 1.2.1
---
build.gradle | 2 +-
.../kotlinforforge/KotlinModLoadingContext.kt | 12 ++++-
.../thedarkcolour/kotlinforforge/forge/Forge.kt | 2 +-
.../1.2.1/kotlinforforge-1.2.1-sources.jar | Bin 0 -> 13418 bytes
.../1.2.1/kotlinforforge-1.2.1-sources.jar.md5 | 1 +
.../1.2.1/kotlinforforge-1.2.1-sources.jar.sha1 | 1 +
.../kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar | Bin 0 -> 91881 bytes
.../1.2.1/kotlinforforge-1.2.1.jar.md5 | 1 +
.../1.2.1/kotlinforforge-1.2.1.jar.sha1 | 1 +
.../kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom | 59 +++++++++++++++++++++
.../1.2.1/kotlinforforge-1.2.1.pom.md5 | 1 +
.../1.2.1/kotlinforforge-1.2.1.pom.sha1 | 1 +
thedarkcolour/kotlinforforge/1.2.1/web.html | 15 ++++++
thedarkcolour/kotlinforforge/maven-metadata.xml | 3 +-
.../kotlinforforge/maven-metadata.xml.md5 | 2 +-
.../kotlinforforge/maven-metadata.xml.sha1 | 2 +-
thedarkcolour/kotlinforforge/web.html | 11 ++--
thedarkcolour/web.html | 10 ++--
18 files changed, 112 insertions(+), 12 deletions(-)
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.md5
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom.sha1
create mode 100644 thedarkcolour/kotlinforforge/1.2.1/web.html
diff --git a/build.gradle b/build.gradle
index aa1db38..5686edf 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,7 +18,7 @@ plugins {
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'kotlin'
-version = '1.2.0'
+version = '1.2.1'
group = 'thedarkcolour.kotlinforforge'
archivesBaseName = 'kotlinforforge'
diff --git a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt
index 44aac2d..78aaef7 100644
--- a/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt
+++ b/src/main/kotlin/thedarkcolour/kotlinforforge/KotlinModLoadingContext.kt
@@ -1,5 +1,6 @@
package thedarkcolour.kotlinforforge
+import net.minecraftforge.eventbus.api.IEventBus
import thedarkcolour.kotlinforforge.eventbus.KotlinEventBus
import thedarkcolour.kotlinforforge.forge.LOADING_CONTEXT
@@ -10,7 +11,16 @@ class KotlinModLoadingContext constructor(private val container: KotlinModContai
/**
* @see thedarkcolour.kotlinforforge.forge.MOD_BUS
*/
- fun getEventBus(): KotlinEventBus {
+ fun getKEventBus(): KotlinEventBus {
+ return container.eventBus
+ }
+
+ /** @since 1.2.1
+ * @see thedarkcolour.kotlinforforge.forge.MOD_BUS
+ *
+ * Required to make mods that use an older version of KFF work.
+ */
+ fun getEventBus(): IEventBus {
return container.eventBus
}
diff --git a/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt b/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt
index e0b9cd8..fe8ee42 100644
--- a/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt
+++ b/src/main/kotlin/thedarkcolour/kotlinforforge/forge/Forge.kt
@@ -40,7 +40,7 @@ val FORGE_BUS = KotlinEventBusWrapper(MinecraftForge.EVENT_BUS as EventBus)
* @see net.minecraftforge.event.RegistryEvent
*/
val MOD_BUS: KotlinEventBus
- inline get() = KotlinModLoadingContext.get().getEventBus()
+ inline get() = KotlinModLoadingContext.get().getKEventBus()
/** @since 1.0.0
* Mod context for Kotlin mods.
diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar
new file mode 100644
index 0000000..1ec7f1e
Binary files /dev/null and b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar differ
diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5
new file mode 100644
index 0000000..1b66d2a
--- /dev/null
+++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.md5
@@ -0,0 +1 @@
+13bce0f678c2210c8c8ef624b85eedc9
\ No newline at end of file
diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1
new file mode 100644
index 0000000..17533d6
--- /dev/null
+++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1-sources.jar.sha1
@@ -0,0 +1 @@
+facc2a29125f44cf8fddb69a2505ec85561da2f3
\ No newline at end of file
diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar
new file mode 100644
index 0000000..9e8adb3
Binary files /dev/null and b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar differ
diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5
new file mode 100644
index 0000000..c344bb1
--- /dev/null
+++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.md5
@@ -0,0 +1 @@
+b1475c31dca21ada89adee34e7f44d7f
\ No newline at end of file
diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1 b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1
new file mode 100644
index 0000000..e72a0c9
--- /dev/null
+++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.jar.sha1
@@ -0,0 +1 @@
+a2170621ceda2e97422601a96e032a00ec6876cd
\ No newline at end of file
diff --git a/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom
new file mode 100644
index 0000000..56a09b2
--- /dev/null
+++ b/thedarkcolour/kotlinforforge/1.2.1/kotlinforforge-1.2.1.pom
@@ -0,0 +1,59 @@
+
+
../ +kotlinforforge-1.2.1-sources.jar +kotlinforforge-1.2.1-sources.jar.sha1 +kotlinforforge-1.2.1-sources.jar.md5 +kotlinforforge-1.2.1.jar +kotlinforforge-1.2.1.jar.sha1 +kotlinforforge-1.2.1.jar.md5 +kotlinforforge-1.2.1.pom +kotlinforforge-1.2.1.pom.sha1 +kotlinforforge-1.2.1.pom.md5 +
../ +Index of /kotlinforforge/
+../ 1.0.0 1.0.1 1.1.0 1.2.0 +1.2.1 maven-metadata.xml maven-metadata.xml.md5 maven-metadata.xml.sha1 -
+