From d89f02d338fc09ed675a9b0d6dc417c6ba5d5b8d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 12 Mar 2017 03:41:28 +0100 Subject: [PATCH] Increase thickness of doors and trapdoors --- mods/ITEMS/mcl_doors/init.lua | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mods/ITEMS/mcl_doors/init.lua b/mods/ITEMS/mcl_doors/init.lua index f66199e497..4074414947 100644 --- a/mods/ITEMS/mcl_doors/init.lua +++ b/mods/ITEMS/mcl_doors/init.lua @@ -37,7 +37,7 @@ function mcl_doors:register_door(name, def) def.sound_close = "doors_door_close" end - local box = {{-8/16, -8/16, -8/16, 8/16, 8/16, -6.5/16}} + local box = {{-8/16, -8/16, -8/16, 8/16, 8/16, -5/16}} if not def.node_box_bottom then def.node_box_bottom = box @@ -539,7 +539,7 @@ function mcl_doors:register_trapdoor(name, def) node_box = { type = "fixed", fixed = { - {-8/16, -8/16, -8/16, 8/16, -6/16, 8/16},}, + {-8/16, -8/16, -8/16, 8/16, -5/16, 8/16},}, }, on_creation = function(pos) state = 0 @@ -567,11 +567,7 @@ function mcl_doors:register_trapdoor(name, def) drop = name, node_box = { type = "fixed", - fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5} - }, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5} + fixed = {-0.5, -0.5, 5/16, 0.5, 0.5, 0.5} }, on_rightclick = function(pos, node, clicker) punch(pos)