mirror of
				https://github.com/mt-mods/moretrees.git
				synced 2025-11-04 07:25:30 +01:00 
			
		
		
		
	fix palm trees decaying with wrong radius
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user