From 7ab8825460ad26a4697fec52a11c864a6cddde63 Mon Sep 17 00:00:00 2001 From: ForbiddenJ Date: Wed, 1 Mar 2017 16:28:40 -0600 Subject: Make trash configurable but preserve default functionality --- init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 67bc56e..6929600 100644 --- a/init.lua +++ b/init.lua @@ -45,6 +45,9 @@ unified_inventory = { -- "Lite" mode lite_mode = minetest.setting_getbool("unified_inventory_lite"), + + -- Trash enabled + trash_enabled = (minetest.setting_getbool("unified_inventory_trash") ~= false), pagecols = 8, pagerows = 10, -- cgit v1.2.3