From d35ad2bbff6bd9459a3e5867b408ff23f555cd5b Mon Sep 17 00:00:00 2001 From: Allink Date: Sun, 4 Jun 2023 18:27:59 +0100 Subject: [PATCH] Add getHandlerList() method to CommandMinecartPlayerEditEvent --- .../api/0004-Add-command-block-player-edit-event.patch | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/patches/api/0004-Add-command-block-player-edit-event.patch b/patches/api/0004-Add-command-block-player-edit-event.patch index f9ac964..67ebd55 100644 --- a/patches/api/0004-Add-command-block-player-edit-event.patch +++ b/patches/api/0004-Add-command-block-player-edit-event.patch @@ -89,10 +89,10 @@ index 0000000000000000000000000000000000000000..722f5839600954998cbbf799e68477d4 +} diff --git a/src/main/java/me/totalfreedom/scissors/event/block/CommandMinecartPlayerEditEvent.java b/src/main/java/me/totalfreedom/scissors/event/block/CommandMinecartPlayerEditEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..9cc63909e8fb83984e4a0d0803e81a27cda65f88 +index 0000000000000000000000000000000000000000..4282f24deb87e52ee19a13b172ec80c6a6017e28 --- /dev/null +++ b/src/main/java/me/totalfreedom/scissors/event/block/CommandMinecartPlayerEditEvent.java -@@ -0,0 +1,73 @@ +@@ -0,0 +1,78 @@ +package me.totalfreedom.scissors.event.block; + +import org.bukkit.block.CommandBlock; @@ -165,4 +165,9 @@ index 0000000000000000000000000000000000000000..9cc63909e8fb83984e4a0d0803e81a27 + { + return handlers; + } ++ ++ public static @NotNull HandlerList getHandlerList() ++ { ++ return handlers; ++ } +}