From 4dc1d6b43b52fb30a0a41f14820b68eac5fb5089 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 18 Aug 2017 21:36:28 +0200 Subject: [PATCH] Fix outdated get_node_group --- mods/ITEMS/mcl_core/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index 5a181069b1..c9a06283d2 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -65,7 +65,7 @@ end mcl_core.grow_reeds = function(pos, node) pos.y = pos.y-1 local name = minetest.get_node(pos).name - if minetest.get_node_group(name, "soil_sugarcane") ~= 0 then + if minetest.get_item_group(name, "soil_sugarcane") ~= 0 then if minetest.find_node_near(pos, 1, {"group:water"}) == nil and minetest.find_node_near(pos, 1, {"group:frosted_ice"}) == nil then return end