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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue