Arran Robertson, of Ashington, twice entered McDonald's in the early hours in possession of the gun