crafting factor was wrongly used as well …

This commit is contained in:
Christof Petig 2022-03-05 13:18:09 +01:00
parent d02018f893
commit c3d6b8c250

View File

@ -571,7 +571,7 @@ impl TradePricing {
let stackable = item.is_stackable();
let new_entry = PriceEntry {
name: recipe.output.clone(),
price: usage * (1.0 / (recipe.amount as f32) * Self::CRAFTING_FACTOR),
price: usage * (1.0 / (recipe.amount as f32 * Self::CRAFTING_FACTOR)),
sell: output_tradeable,
stackable,
};