mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix an alone if to be with a missing else
This commit is contained in:
parent
0d8cb8433a
commit
5e61f64ce2
1 changed files with 1 additions and 1 deletions
|
@ -1093,7 +1093,7 @@ void Server::handleCommand_Interact(NetworkPacket* pkt)
|
||||||
client->SetBlockNotSent(blockpos);
|
client->SetBlockNotSent(blockpos);
|
||||||
}
|
}
|
||||||
// Placement -> above
|
// Placement -> above
|
||||||
if (action == 3) {
|
else if (action == 3) {
|
||||||
v3s16 blockpos = getNodeBlockPos(floatToInt(pointed_pos_above, BS));
|
v3s16 blockpos = getNodeBlockPos(floatToInt(pointed_pos_above, BS));
|
||||||
client->SetBlockNotSent(blockpos);
|
client->SetBlockNotSent(blockpos);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue