mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Inventory: Undo prediction on drop
This commit is contained in:
@@ -1151,6 +1151,7 @@ void Server::setInventoryModified(const InventoryLocation &loc)
|
||||
return;
|
||||
|
||||
player->setModified(true);
|
||||
player->inventory.setModified(true);
|
||||
// Updates are sent in ServerEnvironment::step()
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user