Skip to content

Commit

Permalink
Add missing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Jun 10, 2024
1 parent 8723be8 commit ac01b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/api/0002-Add-PlayerBlockDestroySpeedEvent.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Subject: [PATCH] Add PlayerBlockDestroySpeedEvent

diff --git a/src/main/java/net/sparklypower/sparklypaper/event/block/PlayerBlockDestroySpeedEvent.java b/src/main/java/net/sparklypower/sparklypaper/event/block/PlayerBlockDestroySpeedEvent.java
new file mode 100644
index 0000000000000000000000000000000000000000..712868898e5e69dd0d4b9ad39f7e28a01b22de59
index 0000000000000000000000000000000000000000..d5e097dad04ed62088aade42ba59866029369326
--- /dev/null
+++ b/src/main/java/net/sparklypower/sparklypaper/event/block/PlayerBlockDestroySpeedEvent.java
@@ -0,0 +1,64 @@
Expand All @@ -31,7 +31,7 @@ index 0000000000000000000000000000000000000000..712868898e5e69dd0d4b9ad39f7e28a0
+ private final Player player;
+ private float destroySpeed;
+
+ public PlayerBlockDestroySpeedEvent(Player player, Block block, float destroySpeed) {
+ public PlayerBlockDestroySpeedEvent(@NotNull Player player, @NotNull git adBlock block, float destroySpeed) {
+ super(block);
+ this.player = player;
+ this.destroySpeed = destroySpeed;
Expand Down

0 comments on commit ac01b43

Please sign in to comment.