1
0
mirror of https://github.com/Sokomine/cottages.git synced 2026-01-10 19:15:45 +01:00

removed dirt duplication with pitchfork

This commit is contained in:
Sokomine
2025-09-06 21:06:01 +02:00
parent 2fcc03872d
commit bc151062f2

View File

@@ -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,
})