fix palm trees decaying with wrong radius

This commit is contained in:
Vanessa Ezekowitz 2014-08-07 22:29:58 -04:00
parent 5bfbe63197
commit c674a237e4

View File

@ -19,7 +19,7 @@ end
if moretrees.enable_leafdecay then
for i in ipairs(moretrees.treelist) do
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({
nodenames = "moretrees:"..treename.."_leaves",
interval = moretrees.leafdecay_delay,