mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 06:13:45 +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:
parent
656bcf30bc
commit
c0d45ceaa1
@ -99,7 +99,7 @@ armor.formspec = armor.formspec..
|
|||||||
"label[5,1;"..F("Level")..": armor_level]"..
|
"label[5,1;"..F("Level")..": armor_level]"..
|
||||||
"label[5,1.5;"..F("Heal")..": armor_attr_heal]"
|
"label[5,1.5;"..F("Heal")..": armor_attr_heal]"
|
||||||
if armor.config.fire_protect then
|
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
|
end
|
||||||
armor:register_on_destroy(function(player, index, stack)
|
armor:register_on_destroy(function(player, index, stack)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
|
Loading…
Reference in New Issue
Block a user