Skip to content

Commit

Permalink
Fix that wood is not in group:wood
Browse files Browse the repository at this point in the history
  • Loading branch information
LNJ committed Jul 31, 2016
1 parent aa9957b commit b07f26d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/default/lua/register.lua
Expand Up @@ -14,7 +14,7 @@ local function register_node_stair(name, def)
stair_def.tiles = stair_def.tiles or def.tiles

if not stair_def.groups then
stair_def.groups = def.groups
stair_def.groups = table.copy(def.groups)

-- prevent that stairs are in full node groups (wood, stone),
-- so you can't craft with them like with a full block
Expand Down Expand Up @@ -45,7 +45,7 @@ local function register_node_slab(name, def)
slab_def.tiles = slab_def.tiles or def.tiles

if not slab_def.groups then
slab_def.groups = def.groups
slab_def.groups = table.copy(def.groups)

-- prevent that slabs are in full node groups (wood, stone),
-- so you can't craft with them like with a full block
Expand Down

0 comments on commit b07f26d

Please sign in to comment.