9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

feat: add AllHooksActiveEvent so external plugins actually know when to load their stuff

This commit is contained in:
siansxint
2025-01-07 21:34:23 -04:00
parent 05f05e2ddf
commit cd27258bf2

View File

@@ -0,0 +1,19 @@
package me.lojosho.hibiscuscommons.api.events;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
public class AllHooksActiveEvent extends Event {
private static final HandlerList HANDLER_LIST = new HandlerList();
@Override
public @NotNull HandlerList getHandlers() {
return HANDLER_LIST;
}
public static HandlerList getHandlerList() {
return HANDLER_LIST;
}
}