mirror of
https://github.com/mt-mods/moretrees.git
synced 2025-01-14 11:50:22 +01:00
fix palm trees decaying with wrong radius
This commit is contained in:
parent
5bfbe63197
commit
c674a237e4
@ -19,7 +19,7 @@ end
|
|||||||
if moretrees.enable_leafdecay then
|
if moretrees.enable_leafdecay then
|
||||||
for i in ipairs(moretrees.treelist) do
|
for i in ipairs(moretrees.treelist) do
|
||||||
local treename = moretrees.treelist[i][1]
|
local treename = moretrees.treelist[i][1]
|
||||||
if treename ~= "jungletree" and treename ~= "fir" then
|
if treename ~= "jungletree" and treename ~= "fir" and treename ~= "palm" then
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = "moretrees:"..treename.."_leaves",
|
nodenames = "moretrees:"..treename.."_leaves",
|
||||||
interval = moretrees.leafdecay_delay,
|
interval = moretrees.leafdecay_delay,
|
||||||
|
Loading…
Reference in New Issue
Block a user