13
0
geforkt von Mirrors/Paper

Fix incorrect nullability annotation in BlockIgniteEvent constructor

By: Parker Hawke <hawkeboyz2@hotmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2020-06-25 18:55:21 -04:00
Ursprung c9776be30d
Commit 94dded04b6

Datei anzeigen

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