From 51e91f29fb3e293c67a3ba5e089b786ce0aeeb3b Mon Sep 17 00:00:00 2001 From: Josh Date: Sun, 5 Nov 2023 02:35:23 +0000 Subject: [PATCH] fix(custom-events): ensure customEvents are initialised and bump ver .24 --- README.md | 6 +++--- build.gradle.kts | 2 +- src/main/kotlin/gg/flyte/twilight/Twilight.kt | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dae8781..8d48683 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Maven gg.flyte twilight - 1.0.23 + 1.0.24 ``` @@ -29,14 +29,14 @@ maven { url "https://repo.flyte.gg/releases" } -implementation "gg.flyte:twilight:1.0.23" +implementation "gg.flyte:twilight:1.0.24" ``` Gradle (Kotlin DSL) ```kotlin maven("https://repo.flyte.gg/releases") -implementation("gg.flyte:twilight:1.0.23") +implementation("gg.flyte:twilight:1.0.24") ``` Certain features of Twilight require configuration, which can be done via the Twilight class. To setup a Twilight class instance, you can use the `twilight` method as shown below: diff --git a/build.gradle.kts b/build.gradle.kts index 67d9f0c..019ad97 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "gg.flyte" -version = "1.0.23" +version = "1.0.24" repositories { mavenCentral() diff --git a/src/main/kotlin/gg/flyte/twilight/Twilight.kt b/src/main/kotlin/gg/flyte/twilight/Twilight.kt index 94e35bf..90754a7 100644 --- a/src/main/kotlin/gg/flyte/twilight/Twilight.kt +++ b/src/main/kotlin/gg/flyte/twilight/Twilight.kt @@ -14,6 +14,7 @@ class Twilight(javaPlugin: JavaPlugin) { init { plugin = javaPlugin + run { customEvents } } companion object {