forked from mtcontrib/3d_armor
Display correct heal attribute level, fixes #137
This commit is contained in:
@ -323,7 +323,6 @@ minetest.register_on_player_hpchange(function(player, hp_change)
|
||||
local name = player:get_player_name()
|
||||
if name then
|
||||
local heal = armor.def[name].heal
|
||||
heal = heal * armor.config.heal_multiplier
|
||||
if heal >= math.random(100) then
|
||||
hp_change = 0
|
||||
end
|
||||
|
Reference in New Issue
Block a user