mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-08-20 04:54:09 +02:00
fix formatting
This commit is contained in:
parent
813a88f3a1
commit
7e2d9426d1
@ -75,11 +75,11 @@ local function update_entity(pos)
|
|||||||
local def = stack:get_definition() or {}
|
local def = stack:get_definition() or {}
|
||||||
local groups = def.groups or {}
|
local groups = def.groups or {}
|
||||||
if groups["armor_"..element] then
|
if groups["armor_"..element] then
|
||||||
if def.texture then
|
if def.texture then
|
||||||
table.insert(textures, def.texture)
|
table.insert(textures, def.texture)
|
||||||
else
|
else
|
||||||
table.insert(textures, item:gsub("%:", "_")..".png")
|
table.insert(textures, item:gsub("%:", "_")..".png")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user