aboutsummaryrefslogtreecommitdiff
path: root/src/network/packethandlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/packethandlers')
-rw-r--r--src/network/packethandlers/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/packethandlers/server.cpp b/src/network/packethandlers/server.cpp
index 526c17344..aeaa2f3f3 100644
--- a/src/network/packethandlers/server.cpp
+++ b/src/network/packethandlers/server.cpp
@@ -1391,7 +1391,7 @@ void Server::handleCommand_Interact(NetworkPacket* pkt)
// Apply returned ItemStack
if (playersao->setWieldedItem(item)) {
- SendInventory(pkt->getPeerId());
+ SendInventory(playersao);
}
}