forked from mtcontrib/farming
check for dirt_with_dry_grass before override to help with VoxelGarden issue
This commit is contained in:
parent
9101901afe
commit
c59162149d
7
soil.lua
7
soil.lua
@ -23,13 +23,16 @@ minetest.override_item("default:dirt_with_grass", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("default:dirt_with_dry_grass", {
|
if minetest.registered_nodes["default:dirt_with_dry_grass"] then
|
||||||
|
|
||||||
|
minetest.override_item("default:dirt_with_dry_grass", {
|
||||||
soil = {
|
soil = {
|
||||||
base = "default:dirt_with_dry_grass",
|
base = "default:dirt_with_dry_grass",
|
||||||
dry = "farming:soil",
|
dry = "farming:soil",
|
||||||
wet = "farming:soil_wet"
|
wet = "farming:soil_wet"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.override_item("default:dirt_with_rainforest_litter", {
|
minetest.override_item("default:dirt_with_rainforest_litter", {
|
||||||
soil = {
|
soil = {
|
||||||
|
Loading…
Reference in New Issue
Block a user