From 05b619d286da2b69c981dbba40162bbe65e678f8 Mon Sep 17 00:00:00 2001 From: francisco athens Date: Wed, 6 Jan 2021 14:32:01 -0800 Subject: [PATCH] remove non-working randomizer --- nodes.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/nodes.lua b/nodes.lua index a346d9c..682f575 100644 --- a/nodes.lua +++ b/nodes.lua @@ -188,15 +188,5 @@ minetest.register_node("witches:treeroots_growing", { groups = { liquid = 3, not_in_creative_inventory = 1, cools_lava = 1,tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, --sounds = default.node_sound_water_defaults(), - on_construct = function() - local pos = minetest.get_pos() - pos = { - x = pos.x+math.random(-1,1), - y = pos.y, - z = pos.z+math.random(-1,1) - } - minetest.set_node(pos, {name = "witches:treeroots"}) - print("flowing "..minetest.pos_to_string(pos)) - end })