From e0a85fae01287fb06c0d29fc309067d18286b100 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 17 Sep 2019 19:02:01 +0200 Subject: Inventory: Undo prediction on drop --- src/server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index df3b816f7..a848c0ae9 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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; -- cgit v1.2.3