mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Ice: Use after_dig_node instead of after_destruct
This commit is contained in:
parent
6e8be2a2c3
commit
1556e6cb3e
1 changed files with 1 additions and 1 deletions
|
@ -786,7 +786,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(),
|
||||
after_destruct = function(pos, oldnode)
|
||||
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}
|
||||
local belownode = minetest.get_node(below)
|
||||
|
|
Loading…
Reference in a new issue