From 7ac57b7a0b54aee0ef475e74597e450ae2446d86 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 15 May 2017 01:00:10 +0200 Subject: [PATCH] Don't wash away dig_by_water when above water --- mods/ITEMS/mcl_core/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index b648060aa..244dabb9d 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -113,7 +113,7 @@ minetest.register_abm({ end end end - for yp=-1,0 do + for yp=0,1 do local p = {x=pos.x, y=pos.y+yp, z=pos.z} local n = minetest.get_node(p) local d = minetest.registered_nodes[n.name]