mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
Fix incorrect nullability annotation in BlockIgniteEvent constructor
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
c9776be30d
commit
94dded04b6
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 final Block ignitingBlock;
|
||||||
private boolean cancel;
|
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);
|
this(theBlock, cause, ignitingEntity, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue