mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
Fix incorrect nullability annotation in BlockIgniteEvent constructor
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
c9776be30d
commit
94dded04b6
@ -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…
Reference in New Issue
Block a user