1
0
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:
tenplus1
2024-09-19 09:06:13 +01:00
parent d59efa22d7
commit a23866a487
37 changed files with 77 additions and 5 deletions

View File

@ -116,6 +116,7 @@ def = {
num = mg and 1 or -1,
}
if not farming.eth then
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
@ -134,3 +135,4 @@ minetest.register_decoration({
spawn_by = def.near,
num_spawn_by = def.num
})
end