Remove debug error message in banners mod

This commit is contained in:
Wuzzy 2017-07-29 01:26:31 +02:00
parent caf5104d8e
commit 776ed127d4

@ -159,7 +159,6 @@ for colorid, colortab in pairs(mcl_banners.colors) do
local layers_raw = imeta:get_string("layers") local layers_raw = imeta:get_string("layers")
local layers = minetest.deserialize(layers_raw) local layers = minetest.deserialize(layers_raw)
if type(layers) == "table" and #layers > 0 then if type(layers) == "table" and #layers > 0 then
minetest.log("error", dump(layers))
table.remove(layers) table.remove(layers)
imeta:set_string("layers", minetest.serialize(layers)) imeta:set_string("layers", minetest.serialize(layers))
local newdesc = mcl_banners.make_advanced_banner_description(itemstack:get_definition().description, layers) local newdesc = mcl_banners.make_advanced_banner_description(itemstack:get_definition().description, layers)