From 16f389a18a58bcb4c63b18657e958ab7fc9e42ca Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Mon, 20 Feb 2017 14:01:16 -0700 Subject: [PATCH] fix undeclared global assignment --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index c644041..3954ce2 100644 --- a/init.lua +++ b/init.lua @@ -195,9 +195,8 @@ if flow_through then }) local add_flow_through = function(node_name) - minetest.debug("adding flow through to", node_name) local node_def = minetest.registered_nodes[node_name] - new_groups = node_def.groups + local new_groups = node_def.groups new_groups.flow_through = 1 minetest.override_item(node_name,{groups = groups}) end