forked from Mirrorlandia_minetest/minetest
Fix error msg if craft replacement w/ full inv (#12820)
This commit is contained in:
parent
9df79a4b2d
commit
5e7ea0664a
@ -939,7 +939,7 @@ void ICraftAction::apply(InventoryManager *mgr,
|
|||||||
do {
|
do {
|
||||||
PLAYER_TO_SA(player)->item_OnDrop(output_replacement, player,
|
PLAYER_TO_SA(player)->item_OnDrop(output_replacement, player,
|
||||||
player->getBasePosition());
|
player->getBasePosition());
|
||||||
if (count >= output_replacement.count) {
|
if (count <= output_replacement.count) {
|
||||||
errorstream << "Couldn't drop replacement stack " <<
|
errorstream << "Couldn't drop replacement stack " <<
|
||||||
output_replacement.getItemString() << " because drop loop didn't "
|
output_replacement.getItemString() << " because drop loop didn't "
|
||||||
"decrease count." << std::endl;
|
"decrease count." << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user