Fixed a bug (that Johnny found) in blacksmithState