diff options
author | Jake Potrebic <[email protected]> | 2024-09-29 16:48:34 -0700 |
---|---|---|
committer | Jake Potrebic <[email protected]> | 2024-09-29 19:13:41 -0700 |
commit | ba3c29b92ec29c8c321f7e6160a4a25f65f18088 (patch) | |
tree | 822022fb0a406a3c23533578de55ab8bcf5bd3e5 /patches/api/0100-WitchConsumePotionEvent.patch | |
parent | ea00be3aaa1a5727151db9cd82d876613c99e727 (diff) | |
download | Paper-ba3c29b92ec29c8c321f7e6160a4a25f65f18088.tar.gz Paper-ba3c29b92ec29c8c321f7e6160a4a25f65f18088.zip |
Finish converting all events to jspecify annotations
Diffstat (limited to 'patches/api/0100-WitchConsumePotionEvent.patch')
-rw-r--r-- | patches/api/0100-WitchConsumePotionEvent.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/api/0100-WitchConsumePotionEvent.patch b/patches/api/0100-WitchConsumePotionEvent.patch index 3d69f2e148..3dd9e13cae 100644 --- a/patches/api/0100-WitchConsumePotionEvent.patch +++ b/patches/api/0100-WitchConsumePotionEvent.patch @@ -7,10 +7,10 @@ Fires when a witch consumes the potion in their hand diff --git a/src/main/java/com/destroystokyo/paper/event/entity/WitchConsumePotionEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/WitchConsumePotionEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..6476501ff3299686a059bb75a8ff2424db0cc7f8 +index 0000000000000000000000000000000000000000..43ee765dedf5001fadf1af317b6ab323fde34851 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/event/entity/WitchConsumePotionEvent.java -@@ -0,0 +1,70 @@ +@@ -0,0 +1,71 @@ +package com.destroystokyo.paper.event.entity; + +import org.bukkit.entity.Witch; @@ -73,6 +73,7 @@ index 0000000000000000000000000000000000000000..6476501ff3299686a059bb75a8ff2424 + this.cancelled = cancel; + } + ++ @Override + public HandlerList getHandlers() { + return HANDLER_LIST; + } |