forked from MineClone5/MineClone5
Fix a missed call to mcl_potions:invisible.
This commit is contained in:
parent
7766368f64
commit
724ff56bbf
|
@ -62,6 +62,6 @@ function mcl_potions.regeneration_func(player, factor, duration)
|
||||||
end
|
end
|
||||||
|
|
||||||
function mcl_potions.invisiblility_func(player, duration)
|
function mcl_potions.invisiblility_func(player, duration)
|
||||||
invisible(player, true)
|
mcl_potions.invisible(player, true)
|
||||||
minetest.after(duration, function() invisible(player, false) end )
|
minetest.after(duration, function() mcl_potions.invisible(player, false) end )
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue