mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 06:13: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
|
||||
armor.def[name].state = state
|
||||
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
|
||||
hp_change = 0
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user