1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-21 20:10:17 +02:00

Fix an alone if to be with a missing else

This commit is contained in:
Loic Blot 2018-03-16 08:40:09 +01:00
parent 0d8cb8433a
commit 5e61f64ce2
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987

View File

@ -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);
}