Fix a missed call to mcl_potions:invisible.

This commit is contained in:
bzoss 2020-06-16 08:13:10 -04:00
parent 7766368f64
commit 724ff56bbf
1 changed files with 2 additions and 2 deletions

View File

@ -62,6 +62,6 @@ function mcl_potions.regeneration_func(player, factor, duration)
end
function mcl_potions.invisiblility_func(player, duration)
invisible(player, true)
minetest.after(duration, function() invisible(player, false) end )
mcl_potions.invisible(player, true)
minetest.after(duration, function() mcl_potions.invisible(player, false) end )
end