In 1.8.7 getresource.map is invalid