viridis multitool: fix picking xtraores ores
parent
7d55e34811
commit
e5ce27d736
2
init.lua
2
init.lua
|
@ -202,7 +202,7 @@ if minetest.get_modpath("ethereal") then
|
|||
|
||||
local nn = minetest.get_node(pos).name
|
||||
|
||||
if minetest.get_item_group(nn, "crumbly") == 0 and minetest.get_item_group(nn, "cracky") == 0 and minetest.get_item_group(nn, "weryhard") == 0 then
|
||||
if minetest.get_item_group(nn, "crumbly") == 0 and minetest.get_item_group(nn, "cracky") == 0 and (not string.find(nn, "xtraores:")) then
|
||||
return old_handle_node_drops(pos, drops, digger)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue