Fix incorrect nullability annotation in BlockIgniteEvent constructor

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
Bukkit/Spigot 2020-06-25 18:55:21 -04:00
parent c9776be30d
commit 94dded04b6

View File

@ -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);
}