forked from mtcontrib/3d_armor
Fix warnings
This commit is contained in:
@ -29,9 +29,9 @@ unified_inventory.register_page("armor", {
|
||||
local name = player:get_player_name()
|
||||
local formspec = "background[0.06,"..fy..";7.92,7.52;3d_armor_ui_form.png]"..
|
||||
"label[0,0;Armor]"..
|
||||
"list[detached:"..name.."_armor;armor;0,"..fy..";2,3;]"
|
||||
if armor.def[name] then
|
||||
formspec = formspec ..
|
||||
formspec = formspec..
|
||||
"list[detached:"..name.."_armor;armor;0,"..fy..";2,3;]"
|
||||
"image[2.5,"..(fy - 0.25)..";2,4;"..armor.textures[name].preview.."]"..
|
||||
"label[5.0,"..(fy + 0.0)..";"..S("Level")..": "..armor.def[name].level.."]"..
|
||||
"label[5.0,"..(fy + 0.5)..";"..S("Heal")..": "..armor.def[name].heal.."]"..
|
||||
|
Reference in New Issue
Block a user