mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
Fix incorrect nullability annotation in BlockIgniteEvent constructor
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user