Skip to content

Commit 5e61f64

Browse files
committedMar 16, 2018
Fix an alone if to be with a missing else
1 parent 0d8cb84 commit 5e61f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/network/serverpackethandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ void Server::handleCommand_Interact(NetworkPacket* pkt)
10931093
client->SetBlockNotSent(blockpos);
10941094
}
10951095
// Placement -> above
1096-
if (action == 3) {
1096+
else if (action == 3) {
10971097
v3s16 blockpos = getNodeBlockPos(floatToInt(pointed_pos_above, BS));
10981098
client->SetBlockNotSent(blockpos);
10991099
}

0 commit comments

Comments
 (0)