forked from Mineclonia/Mineclonia
fix local declaration
This commit is contained in:
parent
860317168b
commit
31aa880e85
|
@ -458,7 +458,7 @@ end
|
||||||
|
|
||||||
function mcl_potions.healing_func(player, hp)
|
function mcl_potions.healing_func(player, hp)
|
||||||
|
|
||||||
obj = player:get_luaentity()
|
local obj = player:get_luaentity()
|
||||||
|
|
||||||
if is_zombie[player:get_entity_name()] then hp = -hp end
|
if is_zombie[player:get_entity_name()] then hp = -hp end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue