forked from minetest-mods/moreblocks
Put comment before the line.
This commit is contained in:
parent
9550268c49
commit
2bf5da716d
|
@ -12,7 +12,7 @@ local default_nodes = {
|
||||||
"bronzeblock",
|
"bronzeblock",
|
||||||
"diamondblock",
|
"diamondblock",
|
||||||
"desert_stone",
|
"desert_stone",
|
||||||
-- "desert_cobble", Does not work in minetest_game.
|
-- "desert_cobble", -- Does not work in minetest_game.
|
||||||
"glass",
|
"glass",
|
||||||
"tree",
|
"tree",
|
||||||
"wood",
|
"wood",
|
||||||
|
@ -30,7 +30,8 @@ for _, name in pairs(default_nodes) do
|
||||||
local ndef = minetest.registered_nodes[nodename]
|
local ndef = minetest.registered_nodes[nodename]
|
||||||
local groups = {}
|
local groups = {}
|
||||||
for k, v in pairs(ndef.groups)
|
for k, v in pairs(ndef.groups)
|
||||||
do if k ~= "wood" and k ~= "stone" then -- Ignore wood and stone groups to not make them usable in crafting.
|
-- Ignore wood and stone groups to not make them usable in crafting.
|
||||||
|
do if k ~= "wood" and k ~= "stone" then
|
||||||
groups[k] = v
|
groups[k] = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user