From 53f062ab720c0ac046edad3f019497b5952f69e1 Mon Sep 17 00:00:00 2001 From: sangeet79 Date: Mon, 2 Aug 2021 15:56:32 +0300 Subject: [PATCH] Update init.lua Hid doors from inventory --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 38b178e..543ce75 100755 --- a/init.lua +++ b/init.lua @@ -105,7 +105,7 @@ function ts_doors.register_door(item, description, texture, sounds, recipe) local groups = minetest.registered_nodes[item].groups - local door_groups = {door=1} + local door_groups = {door=1, not_in_creative_inventory=1} for k, v in pairs(groups) do if k ~= "wood" then door_groups[k] = v