aboutsummaryrefslogtreecommitdiff
path: root/src/network/packethandlers/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/packethandlers/client.cpp')
-rw-r--r--src/network/packethandlers/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/packethandlers/client.cpp b/src/network/packethandlers/client.cpp
index e1e57b3a6..82f8b61b7 100644
--- a/src/network/packethandlers/client.cpp
+++ b/src/network/packethandlers/client.cpp
@@ -168,8 +168,8 @@ void Client::handleCommand_BlockData(NetworkPacket* pkt)
sector->insertBlock(block);
}
- if (localdb != NULL) {
- ((ServerMap&) localserver->getMap()).saveBlock(block, localdb);
+ if (m_localdb) {
+ ServerMap::saveBlock(block, m_localdb);
}
/*