viridis multitool: fix picking xtraores ores

master
Hume2 2021-08-14 20:19:06 +02:00
parent 7d55e34811
commit e5ce27d736
1 changed files with 1 additions and 1 deletions

View File

@ -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