mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 23:01:00 +02:00
dont register decoration if ethereal active
This commit is contained in:
@ -180,6 +180,7 @@ def = {
|
||||
biome = mg and {"jungle"} or {"savanna"}
|
||||
}
|
||||
|
||||
if not farming.eth then
|
||||
minetest.register_decoration({
|
||||
name = "farming:cotton_wild",
|
||||
deco_type = "simple",
|
||||
@ -198,7 +199,7 @@ minetest.register_decoration({
|
||||
y_min = 1,
|
||||
decoration = "farming:cotton_wild"
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
--[[ Cotton using api
|
||||
farming.register_plant("farming:cotton", {
|
||||
|
Reference in New Issue
Block a user