From 48bbde8e8049f0332662766fcc62d5acd8baac96 Mon Sep 17 00:00:00 2001 From: Emmanuel Lampe Date: Sat, 17 Feb 2024 10:11:26 +0100 Subject: [PATCH] fix: event is missing the getHandlerList static method (#10) * fix: event is missing the getHandlerList static method * bump 0.2.4 --------- Co-authored-by: Netherwhal --- build.gradle | 2 +- .../java/com/vexsoftware/votifier/model/VotifierEvent.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 92ee9ef..7be8f12 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { } group 'net.simplyvanilla' -version '0.2.3' +version '0.2.4' java { toolchain.languageVersion.set(JavaLanguageVersion.of(17)) diff --git a/src/main/java/com/vexsoftware/votifier/model/VotifierEvent.java b/src/main/java/com/vexsoftware/votifier/model/VotifierEvent.java index 1e0277b..a6536cc 100644 --- a/src/main/java/com/vexsoftware/votifier/model/VotifierEvent.java +++ b/src/main/java/com/vexsoftware/votifier/model/VotifierEvent.java @@ -39,4 +39,8 @@ public HandlerList getHandlers() { return handlers; } + public static HandlerList getHandlerList() { + return handlers; + } + }