Skip to content

Commit

Permalink
fix(custom-events): ensure customEvents are initialised and bump ver .24
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbker committed Nov 5, 2023
1 parent c412677 commit 51e91f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Maven
<dependency>
<groupId>gg.flyte</groupId>
<artifactId>twilight</artifactId>
<version>1.0.23</version>
<version>1.0.24</version>
</dependency>
```

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "gg.flyte"
version = "1.0.23"
version = "1.0.24"

repositories {
mavenCentral()
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/gg/flyte/twilight/Twilight.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Twilight(javaPlugin: JavaPlugin) {

init {
plugin = javaPlugin
run { customEvents }
}

companion object {
Expand Down

0 comments on commit 51e91f2

Please sign in to comment.