From 5e61f64ce259fe0b23cbb377b44e90a0fbc820d7 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 16 Mar 2018 08:40:09 +0100 Subject: [PATCH] Fix an alone if to be with a missing else --- src/network/serverpackethandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 420a79757..76a2dc3c2 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -1093,7 +1093,7 @@ void Server::handleCommand_Interact(NetworkPacket* pkt) client->SetBlockNotSent(blockpos); } // Placement -> above - if (action == 3) { + else if (action == 3) { v3s16 blockpos = getNodeBlockPos(floatToInt(pointed_pos_above, BS)); client->SetBlockNotSent(blockpos); }