Skip to content

Commit

Permalink
Fix an alone if to be with a missing else
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Mar 16, 2018
1 parent 0d8cb84 commit 5e61f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/serverpackethandler.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5e61f64

Please sign in to comment.