From daed3059bf3f59fc386fc8a7435c7928b6f8e240 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 8 Mar 2019 04:42:24 +0100 Subject: [PATCH] Predict water when digging ice --- mods/ITEMS/mcl_core/nodes_base.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index decdda0dcf..f76a7f86f4 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -788,6 +788,7 @@ minetest.register_node("mcl_core:ice", { groups = {handy=1,pickaxey=1, slippery=3, building_block=1}, drop = "", sounds = mcl_sounds.node_sound_glass_defaults(), + node_dig_prediction = "mcl_core:water_source", after_dig_node = function(pos, oldnode) -- Create a water source if ice is destroyed and there was something below it local below = {x=pos.x, y=pos.y-1, z=pos.z}