add static handler list methods

This commit is contained in:
Pyrbu 2023-05-26 13:40:05 +01:00
parent 4a4b384992
commit 564f26047f
3 changed files with 12 additions and 0 deletions

@ -17,4 +17,8 @@ public class NpcDespawnEvent extends CancellableNpcEvent implements Cancellable
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}

@ -25,4 +25,8 @@ public class NpcInteractEvent extends CancellableNpcEvent implements Cancellable
public InteractionType getClickType() {
return clickType;
}
public static HandlerList getHandlerList() {
return handlers;
}
}

@ -17,4 +17,8 @@ public class NpcSpawnEvent extends CancellableNpcEvent implements Cancellable {
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}