From 60074ffbfd1b17d42ae5e796595b2e76f0f71e3a Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 12 Sep 2020 08:33:17 +1000 Subject: [PATCH] #550: Add getHandlerList into ArrowBodyCountChangeEvent By: Martoph --- .../org/bukkit/event/entity/ArrowBodyCountChangeEvent.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/ArrowBodyCountChangeEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/ArrowBodyCountChangeEvent.java index 96ce136ba2..caed284b31 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/ArrowBodyCountChangeEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/ArrowBodyCountChangeEvent.java @@ -84,4 +84,9 @@ public class ArrowBodyCountChangeEvent extends EntityEvent implements Cancellabl public HandlerList getHandlers() { return handlers; } + + @NotNull + public static HandlerList getHandlerList() { + return handlers; + } }