mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
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