mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Inventory: Undo prediction on drop
This commit is contained in:
parent
1db3d252cf
commit
e0a85fae01
2 changed files with 7 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue