diff --git a/src/main.cpp b/src/main.cpp index 15e2a45..abf1b3c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -742,7 +742,7 @@ int main(int argc, char** argv) // Can't place blocks inside other blocks. - if (the_world->get_id_safe(px, py, pz) != id_air) + if (is_not_permeable_ray(the_world->get_id_safe(px, py, pz))) { break; }