show fire: value

this fixes the Fire: value in formspec so it shows a number instead of "Fire: armor_fire".
master
tenplus1 2018-06-18 18:19:00 +01:00 committed by stujones11
parent 656bcf30bc
commit c0d45ceaa1
1 changed files with 1 additions and 1 deletions

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()