Fix stone not being cuttable since recent commit
This commit is contained in:
parent
720cdff72c
commit
73a135151c
@ -23,7 +23,7 @@ function xdecor.tablecopy(T)
|
|||||||
if type(v) == "table" then
|
if type(v) == "table" then
|
||||||
new[k] = xdecor.tablecopy(v)
|
new[k] = xdecor.tablecopy(v)
|
||||||
else
|
else
|
||||||
new[k] = item
|
new[k] = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return new
|
return new
|
||||||
|
@ -10,8 +10,8 @@ function worktable:nodes(def)
|
|||||||
def.after_place_node and not def.on_rightclick and not
|
def.after_place_node and not def.on_rightclick and not
|
||||||
def.on_blast and not def.allow_metadata_inventory_take and not
|
def.on_blast and not def.allow_metadata_inventory_take and not
|
||||||
(def.groups.not_in_creative_inventory == 1) and not
|
(def.groups.not_in_creative_inventory == 1) and not
|
||||||
def.groups.wool and not def.drop and def.light_source == 0 and
|
def.groups.wool and not def.description:find("Ore") and
|
||||||
def.description and def.description ~= ""
|
def.description and def.description ~= "" and def.light_source == 0
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Nodeboxes definitions.
|
-- Nodeboxes definitions.
|
||||||
|
Loading…
Reference in New Issue
Block a user