aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0238-Add-BlockPreDispenseEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0238-Add-BlockPreDispenseEvent.patch')
-rw-r--r--patches/api/0238-Add-BlockPreDispenseEvent.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/api/0238-Add-BlockPreDispenseEvent.patch b/patches/api/0238-Add-BlockPreDispenseEvent.patch
index 44fccdf619..0467ecd668 100644
--- a/patches/api/0238-Add-BlockPreDispenseEvent.patch
+++ b/patches/api/0238-Add-BlockPreDispenseEvent.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Add BlockPreDispenseEvent
diff --git a/src/main/java/io/papermc/paper/event/block/BlockPreDispenseEvent.java b/src/main/java/io/papermc/paper/event/block/BlockPreDispenseEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..fd10a34ec4e0731574cc7d69620e0b353ce8a21b
+index 0000000000000000000000000000000000000000..2e13e18e2b8411dfb7886663de7125330a65fa62
--- /dev/null
+++ b/src/main/java/io/papermc/paper/event/block/BlockPreDispenseEvent.java
-@@ -0,0 +1,63 @@
+@@ -0,0 +1,64 @@
+package io.papermc.paper.event.block;
+
+import org.bukkit.block.Block;
@@ -65,6 +65,7 @@ index 0000000000000000000000000000000000000000..fd10a34ec4e0731574cc7d69620e0b35
+ this.cancelled = cancel;
+ }
+
++ @Override
+ public HandlerList getHandlers() {
+ return HANDLER_LIST;
+ }