aboutsummaryrefslogtreecommitdiff
path: root/stairsplus/registrations.lua
diff options
context:
space:
mode:
authorCalinou <calinou@opmbx.org>2014-05-10 21:25:10 +0200
committerCalinou <calinou@opmbx.org>2014-05-10 21:25:10 +0200
commit2bf5da716d7c01cdfed74a29de665923651d522e (patch)
tree89a9c25e0cd079813ef8d4b30999fe83773d2fd3 /stairsplus/registrations.lua
parent9550268c4957f2f8c5e74ee2ef972a4d3d578bc9 (diff)
downloadmoreblocks-2bf5da716d7c01cdfed74a29de665923651d522e.tar.gz
moreblocks-2bf5da716d7c01cdfed74a29de665923651d522e.tar.bz2
moreblocks-2bf5da716d7c01cdfed74a29de665923651d522e.zip
Put comment before the line.
Diffstat (limited to 'stairsplus/registrations.lua')
-rw-r--r--stairsplus/registrations.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/stairsplus/registrations.lua b/stairsplus/registrations.lua
index c5362d9..491c72f 100644
--- a/stairsplus/registrations.lua
+++ b/stairsplus/registrations.lua
@@ -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