only turn stone=1 nodes to glostone

This commit is contained in:
tenplus1 2021-03-30 20:25:04 +01:00
parent 7ec1e5271e
commit 9eb042c417

View File

@ -327,7 +327,7 @@ minetest.register_tool("ethereal:light_staff", {
local node = minetest.get_node(pos).name
local def = minetest.registered_nodes[node]
local stone = def and def.groups and def.groups.stone
local stone = def and def.groups and def.groups.stone and def.groups.stone == 1
if stone then