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:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user