From a7953d526b23de960d7a41f5a83ea4a705b57c2f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 17 Jan 2017 02:10:29 +0100 Subject: [PATCH] Fix wall collision box going too deep --- mods/wallet/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/wallet/init.lua b/mods/wallet/init.lua index 24294044e..c9fa8e255 100644 --- a/mods/wallet/init.lua +++ b/mods/wallet/init.lua @@ -105,7 +105,7 @@ local function register_wall(nodename, name, texture, invtex) minetest.register_node(nodename.."_"..i, { collision_box = { type = 'fixed', - fixed = {-4/16, -1, -4/16, 4/16, 1, 4/16} + fixed = {-4/16, -0.5, -4/16, 4/16, 1, 4/16} }, drawtype = "nodebox", is_ground_content = false, @@ -125,7 +125,7 @@ local function register_wall(nodename, name, texture, invtex) drawtype = "nodebox", collision_box = { type = 'fixed', - fixed = {-4/16, -1, -4/16, 4/16, 1, 4/16} + fixed = {-4/16, -0.5, -4/16, 4/16, 1, 4/16} }, tiles = {texture}, paramtype = "light", @@ -143,7 +143,7 @@ local function register_wall(nodename, name, texture, invtex) drawtype = "nodebox", collision_box = { type = 'fixed', - fixed = {-4/16, -1, -4/16, 4/16, 1, 4/16} + fixed = {-4/16, -0.5, -4/16, 4/16, 1, 4/16} }, tiles = {texture}, paramtype = "light", @@ -172,7 +172,7 @@ local function register_wall(nodename, name, texture, invtex) }, collision_box = { type = 'fixed', - fixed = {-4/16, -1, -4/16, 4/16, 1, 4/16} + fixed = {-4/16, -0.5, -4/16, 4/16, 1, 4/16} }, collisionbox = {-0.2, 0, -0.2, 0.2, 1.4, 0.2}, on_construct = update_wall,