mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 12:25:23 +02:00
Update inventorymanager.cpp
This commit is contained in:
@@ -171,7 +171,7 @@ void IMoveAction::apply(InventoryManager *mgr, ServerActiveObject *player, IGame
|
|||||||
{
|
{
|
||||||
Inventory *inv_from = mgr->getInventory(from_inv);
|
Inventory *inv_from = mgr->getInventory(from_inv);
|
||||||
Inventory *inv_to = mgr->getInventory(to_inv);
|
Inventory *inv_to = mgr->getInventory(to_inv);
|
||||||
|
|
||||||
if (!inv_from) {
|
if (!inv_from) {
|
||||||
infostream << "IMoveAction::apply(): FAIL: source inventory not found: "
|
infostream << "IMoveAction::apply(): FAIL: source inventory not found: "
|
||||||
<< "from_inv=\""<<from_inv.dump() << "\""
|
<< "from_inv=\""<<from_inv.dump() << "\""
|
||||||
|
Reference in New Issue
Block a user