From 94dded04b6fedf504a32c24958c9b413efe96411 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 25 Jun 2020 18:55:21 -0400 Subject: [PATCH] Fix incorrect nullability annotation in BlockIgniteEvent constructor By: Parker Hawke --- .../src/main/java/org/bukkit/event/block/BlockIgniteEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/event/block/BlockIgniteEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockIgniteEvent.java index 1593c37166..6dcd9f828c 100644 --- a/paper-api/src/main/java/org/bukkit/event/block/BlockIgniteEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/block/BlockIgniteEvent.java @@ -21,7 +21,7 @@ public class BlockIgniteEvent extends BlockEvent implements Cancellable { private final Block ignitingBlock; private boolean cancel; - public BlockIgniteEvent(@NotNull final Block theBlock, @NotNull final IgniteCause cause, @NotNull final Entity ignitingEntity) { + public BlockIgniteEvent(@NotNull final Block theBlock, @NotNull final IgniteCause cause, @Nullable final Entity ignitingEntity) { this(theBlock, cause, ignitingEntity, null); }