summaryrefslogtreecommitdiffhomepage
path: root/patches/api/0127-AnvilDamageEvent.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-09-29 16:48:34 -0700
committerJake Potrebic <[email protected]>2024-09-29 19:13:41 -0700
commitba3c29b92ec29c8c321f7e6160a4a25f65f18088 (patch)
tree822022fb0a406a3c23533578de55ab8bcf5bd3e5 /patches/api/0127-AnvilDamageEvent.patch
parentea00be3aaa1a5727151db9cd82d876613c99e727 (diff)
downloadPaper-ba3c29b92ec29c8c321f7e6160a4a25f65f18088.tar.gz
Paper-ba3c29b92ec29c8c321f7e6160a4a25f65f18088.zip
Finish converting all events to jspecify annotations
Diffstat (limited to 'patches/api/0127-AnvilDamageEvent.patch')
-rw-r--r--patches/api/0127-AnvilDamageEvent.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/api/0127-AnvilDamageEvent.patch b/patches/api/0127-AnvilDamageEvent.patch
index 303e7bd6f1..2d984e06e6 100644
--- a/patches/api/0127-AnvilDamageEvent.patch
+++ b/patches/api/0127-AnvilDamageEvent.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] AnvilDamageEvent
diff --git a/src/main/java/com/destroystokyo/paper/event/block/AnvilDamagedEvent.java b/src/main/java/com/destroystokyo/paper/event/block/AnvilDamagedEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..456e2a638421b435ede4205d3eedfafeedb196c1
+index 0000000000000000000000000000000000000000..1472ecef11627d82f72911d86d579ad3bb365dca
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/block/AnvilDamagedEvent.java
-@@ -0,0 +1,148 @@
+@@ -0,0 +1,149 @@
+package com.destroystokyo.paper.event.block;
+
+import org.bukkit.Material;
@@ -95,6 +95,7 @@ index 0000000000000000000000000000000000000000..456e2a638421b435ede4205d3eedfafe
+ this.cancelled = cancel;
+ }
+
++ @Override
+ public HandlerList getHandlers() {
+ return HANDLER_LIST;
+ }