aboutsummaryrefslogtreecommitdiff
path: root/stairsplus
diff options
context:
space:
mode:
Diffstat (limited to 'stairsplus')
-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