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; + } + }