From 6fe3cd7449682a208e37079e428744869aa5f9a4 Mon Sep 17 00:00:00 2001 From: laireia Date: Fri, 1 Dec 2023 09:41:26 +1000 Subject: [PATCH] Do not predict node placement for Spore Blossoms and Azaleas --- mods/ITEMS/mcl_lush_caves/nodes.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ITEMS/mcl_lush_caves/nodes.lua b/mods/ITEMS/mcl_lush_caves/nodes.lua index eac4a2c46..9e87ed097 100644 --- a/mods/ITEMS/mcl_lush_caves/nodes.lua +++ b/mods/ITEMS/mcl_lush_caves/nodes.lua @@ -314,6 +314,7 @@ minetest.register_node("mcl_lush_caves:spore_blossom", { }, _mcl_blast_resistance = 0.5, _mcl_hardness = 0.5, + node_placement_prediction = "", on_place = mcl_util.generate_on_place_plant_function(function(place_pos, place_node,stack) local above = vector.offset(place_pos,0,1,0) local snn = minetest.get_node_or_nil(above).name @@ -346,6 +347,7 @@ local tpl_azalea = { _mcl_blast_resistance = 0, _mcl_hardness = 0, use_texture_alpha = "clip", + node_placement_prediction = "", on_place = mcl_util.generate_on_place_plant_function(function(pos, node, itemstack) local floor_name = minetest.get_node_or_nil(vector.offset(pos, 0, -1, 0)).name if not floor_name then return false end