A 26 year old Dunedin man has been jailed for five years over the death of another man in a Dunedin bar.