Easy solution: if the chest has a duplicate weapon in it, rather than refusing to open, it could do another random roll on what comes from the chest. that way if you have bow sword and spear, you will either get dark matter again, or a different weapon.