mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Fix incorrect nullability annotation in BlockIgniteEvent constructor
This commit is contained in:
parent
00a4110070
commit
fd413b21f1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue