Something
public text v1 · immutable public void onBlockIgnite (BlockIgniteEvent event){
if (! plugin.isEnabled()) return;
if (! event.getCause().equals(BlockIgniteEvent.IgniteCause.FLINT_AND_STEEL)){
event.setCancelled(true);
plugin.out("Hindered fire spread");
}
}