fix palm trees decaying with wrong radius
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Fri, 8 Aug 2014 02:29:58 +0000 (22:29 -0400)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Fri, 8 Aug 2014 02:29:58 +0000 (22:29 -0400)
leafdecay.lua

index a22213a7afb4639865124d897676caeb91212404..9d771d78c522a075b12281a293d362240dbdec9a 100644 (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,