diff --git a/nodes_hay.lua b/nodes_hay.lua index 3d1f8b0..61b6b4b 100644 --- a/nodes_hay.lua +++ b/nodes_hay.lua @@ -32,7 +32,9 @@ if( minetest.registered_items["default:dirt_with_grass"] if not timer:is_started() then timer:start(math.random(60, 300)) end - -- TODO: prevent dirt from beeing multiplied this way (that is: give no dirt!) + -- prevent dirt from beeing multiplied this way (that is: give no dirt!) + local inv = digger:get_inventory() + inv:remove_item('main', 'default:dirt 1') return end, })