fix formatting

This commit is contained in:
Scott Horvath 2019-01-19 18:16:17 -06:00 committed by stujones11
parent 813a88f3a1
commit 7e2d9426d1

@ -75,11 +75,11 @@ local function update_entity(pos)
local def = stack:get_definition() or {}
local groups = def.groups or {}
if groups["armor_"..element] then
if def.texture then
table.insert(textures, def.texture)
if def.texture then
table.insert(textures, def.texture)
else
table.insert(textures, item:gsub("%:", "_")..".png")
end
table.insert(textures, item:gsub("%:", "_")..".png")
end
end
end
end