From e44942ba05a425981c1f4f20799b3c8c116b942c Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 26 Jan 2018 17:17:12 +0000 Subject: [PATCH] Fix place CONTENT_IGNORE error by correcting references to removed ctf_barrier:ind_stone --- mods/ctf_team_base/init.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mods/ctf_team_base/init.lua b/mods/ctf_team_base/init.lua index 44f8644..d1a0177 100644 --- a/mods/ctf_team_base/init.lua +++ b/mods/ctf_team_base/init.lua @@ -1,3 +1,11 @@ +minetest.register_node("ctf_team_base:ind_cobble", { + description = "Cobblestone", + tiles = {"default_cobble.png"}, + is_ground_content = false, + groups = {immortal = 1}, + sounds = default.node_sound_stone_defaults(), +}) + local function max(a, b) return (a > b) and a or b end @@ -156,11 +164,9 @@ function ctf_team_base.place(color, pos) for x = pos.x - 2, pos.x + 2 do for z = pos.z - 2, pos.z + 2 do minetest.set_node({ x = x, y = pos.y - 1, z = z}, - {name = "default:cobble"}) + {name = "ctf_team_base:ind_cobble"}) end end - minetest.set_node({ x = pos.x, y = pos.y - 1, z = pos.z}, - {name = "ctf_barrier:ind_stone"}) -- Check for trees for y = pos.y, pos.y + 3 do