nalc/nalc_bonemeal/init.lua

20 lines
379 B
Lua
Raw Normal View History

-- NALC : Remove dirt with bones to avoid infinite bones creation with the same dirt block
minetest.override_item(
"default:dirt",
{
drop = {
max_items = 1,
items = {
{
items = {"bonemeal:bone"}, -- NALC : Removed default:dirt
rarity = 30,
},
{
items = {"default:dirt"},
}
}
},
})
minetest.log("action", "[nalc_bonemeal] loaded.")