diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-03-16 08:40:09 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2018-03-16 08:40:21 +0100 |
commit | 5e61f64ce259fe0b23cbb377b44e90a0fbc820d7 (patch) | |
tree | 10d641bd583e540ebcc57d15b4f369c034894601 | |
parent | 0d8cb8433a2e310a193a51b0cd49b117a6d899ce (diff) | |
download | minetest-5e61f64ce259fe0b23cbb377b44e90a0fbc820d7.tar.gz minetest-5e61f64ce259fe0b23cbb377b44e90a0fbc820d7.tar.bz2 minetest-5e61f64ce259fe0b23cbb377b44e90a0fbc820d7.zip |
Fix an alone if to be with a missing else
-rw-r--r-- | src/network/serverpackethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |