From d8db54a445479fdafc727b260fc028bfefd88dba Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 4 Jan 2019 17:40:55 -0500 Subject: [PATCH] Fixed block placement errors --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }