forked from MineClone5/MineClone5
Remove wall debug text
This commit is contained in:
parent
78dd7f4826
commit
bd125d3ddf
|
@ -24,14 +24,12 @@ local function update_wall(pos)
|
||||||
if colonpos ~= nil then
|
if colonpos ~= nil then
|
||||||
itemname = thisnode.name:sub(colonpos+1)
|
itemname = thisnode.name:sub(colonpos+1)
|
||||||
end
|
end
|
||||||
minetest.log("error", itemname)
|
|
||||||
underscorepos = itemname:find("_")
|
underscorepos = itemname:find("_")
|
||||||
if underscorepos == nil then -- New wall
|
if underscorepos == nil then -- New wall
|
||||||
basename = thisnode.name .. "_"
|
basename = thisnode.name .. "_"
|
||||||
else -- Already placed wall
|
else -- Already placed wall
|
||||||
basename = "mcl_walls:" .. itemname:sub(1, underscorepos)
|
basename = "mcl_walls:" .. itemname:sub(1, underscorepos)
|
||||||
end
|
end
|
||||||
minetest.log("error", basename)
|
|
||||||
|
|
||||||
local sum = 0
|
local sum = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue