e184ab7a42
The reported sequence in #1639: a villager works at a bench, the bench is destroyed and it takes another bench's job, and then it does not open a trading menu. `Villager.setVillagerData` drops the offers (`offers = null`) when the profession changes, so the next `AbstractVillager.getOffers` rolls the new profession's trade set. The brain reaches that through `set_profession`, which now also marks the offers as not made (#2009); this test covers the whole reported sequence, from the lost job site to the new profession's trades, so a villager that keeps the old profession's offers marked as made cannot pass it. Co-Authored-By: minimax-m3.1-flash (Claude Code) <noreply@users.noreply.github.com>