mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 14:23:45 +01:00
Replace missed global config, fixes #94
This commit is contained in:
parent
709535dff0
commit
5517be8ff2
@ -387,7 +387,7 @@ minetest.register_on_player_hpchange(function(player, hp_change)
|
|||||||
end
|
end
|
||||||
armor.def[name].state = state
|
armor.def[name].state = state
|
||||||
armor.def[name].count = items
|
armor.def[name].count = items
|
||||||
heal_max = heal_max * ARMOR_HEAL_MULTIPLIER
|
heal_max = heal_max * armor.config.heal_multiplier
|
||||||
if heal_max > math.random(100) then
|
if heal_max > math.random(100) then
|
||||||
hp_change = 0
|
hp_change = 0
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user