1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-12-26 02:30:39 +01:00

show fire: value

this fixes the Fire: value in formspec so it shows a number instead of "Fire: armor_fire".
This commit is contained in:
tenplus1 2018-06-18 18:19:00 +01:00 committed by stujones11
parent 656bcf30bc
commit c0d45ceaa1

View File

@ -99,7 +99,7 @@ armor.formspec = armor.formspec..
"label[5,1;"..F("Level")..": armor_level]"..
"label[5,1.5;"..F("Heal")..": armor_attr_heal]"
if armor.config.fire_protect then
armor.formspec = armor.formspec.."label[5,2;"..F("Fire")..": armor_fire]"
armor.formspec = armor.formspec.."label[5,2;"..F("Fire")..": armor_attr_fire]"
end
armor:register_on_destroy(function(player, index, stack)
local name = player:get_player_name()