Fix an alone if to be with a missing else

master
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
1 changed files with 1 additions and 1 deletions

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