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

View File

@ -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