Remove wall debug text

This commit is contained in:
Wuzzy 2017-01-28 02:43:58 +01:00
parent 78dd7f4826
commit bd125d3ddf

View file

@ -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