Avoid null pointer exception
Avoid null pointer exception

If the referenced map has been disabled you get error "Call to a member function getAddresses() on null". This can be resolved by checking if a map has been found before going on.
mhirdes/go_maps_ext,mhirdes/go_maps_ext,mhirdes/go_maps_ext