A Yorkshire Dales pub landlord has accused national park planners of pettiness after they threatened legal action over decking he installed during lockdown.