Put comment before the line.

This commit is contained in:
Calinou 2014-05-10 21:25:10 +02:00
parent 9550268c49
commit 2bf5da716d
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ local default_nodes = {
"bronzeblock",
"diamondblock",
"desert_stone",
-- "desert_cobble", Does not work in minetest_game.
-- "desert_cobble", -- Does not work in minetest_game.
"glass",
"tree",
"wood",
@ -30,7 +30,8 @@ for _, name in pairs(default_nodes) do
local ndef = minetest.registered_nodes[nodename]
local 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
end
end