aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt b/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt
index e08ef14..93b9199 100644
--- a/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt
+++ b/src/main/kotlin/me/bush/eventbuskotlin/EventBus.kt
@@ -10,7 +10,7 @@ import kotlin.reflect.KClass
* @author bush
* @since 1.0.0
*/
-class EventBus(private val config: Config = Config()) {
+open class EventBus(private val config: Config = Config()) {
private val listeners = ConcurrentHashMap<KClass<*>, ListenerGroup>()
private val subscribers = ConcurrentHashMap.newKeySet<Any>()
private val cache = ConcurrentHashMap<Any, List<Listener>?>()