add required static method

This commit is contained in:
xGinko 2023-09-29 22:56:40 +02:00
parent be432ed1bd
commit df22518519
2 changed files with 8 additions and 0 deletions

View File

@ -59,4 +59,8 @@ public class VillagerOptimizeEvent extends Event implements Cancellable {
public @NotNull HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}

View File

@ -39,4 +39,8 @@ public class VillagerUnoptimizeEvent extends Event implements Cancellable {
public @NotNull HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}