Trade declined in the 18th century , as only two ships per year were allowed to dock at Dejima .
This was because only two ships per year were allowed to dock at Dejima .