Skip to content

Commit 3ed53ed

Browse files
committed
fix: make the handles static to the jvm
1 parent ef127a7 commit 3ed53ed

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/kotlin/me/glaremasters/guilds/api/events/challenges/GuildWarEndEvent.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class GuildWarEndEvent(val challenger: Guild, val defender: Guild, val winner: G
5252
/**
5353
* The static list of event handlers for this event type.
5454
*/
55+
@JvmStatic
5556
val handlerList = HandlerList()
5657
}
5758
}

src/main/kotlin/me/glaremasters/guilds/api/events/challenges/GuildWarStartEvent.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class GuildWarStartEvent(val challenger: Guild, val defender: Guild) : Event() {
5050
/**
5151
* The static list of event handlers for this event type.
5252
*/
53+
@JvmStatic
5354
val handlerList = HandlerList()
5455
}
5556
}

0 commit comments

Comments
 (0)