Fix handlers and added some more logging

This commit is contained in:
2022-12-06 01:17:16 +01:00
parent aa4abfcdee
commit 105c914483
2 changed files with 7 additions and 1 deletions
@@ -6,7 +6,7 @@ import org.jetbrains.annotations.NotNull;
public class LockResponseEvent extends Event {
private final HandlerList handlers = new HandlerList();
private static final HandlerList handlers = new HandlerList();
private final String channel;
private final ResponseType responseType;
private final String data;
@@ -36,6 +36,11 @@ public class LockResponseEvent extends Event {
return result;
}
public static @NotNull HandlerList getHandlerList() {
return handlers;
}
@Override
public @NotNull HandlerList getHandlers() {
return handlers;
}