1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Clean up craft replacements docs

This commit is contained in:
Paul Ouellette
2019-08-08 08:30:38 -04:00
committed by sfan5
parent 103d9c5c53
commit 27ce6d0ecc
3 changed files with 17 additions and 7 deletions

View File

@@ -861,7 +861,7 @@ void ICraftAction::apply(InventoryManager *mgr,
}
// Put the replacements in the inventory or drop them on the floor, if
// the invenotry is full
// the inventory is full
for (auto &output_replacement : output_replacements) {
if (list_main)
output_replacement = list_main->addItem(output_replacement);