From 724ff56bbfa2d744fd4344912620d9685bdc0d1f Mon Sep 17 00:00:00 2001 From: bzoss Date: Tue, 16 Jun 2020 08:13:10 -0400 Subject: [PATCH] Fix a missed call to mcl_potions:invisible. --- mods/ITEMS/mcl_potions/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_potions/functions.lua b/mods/ITEMS/mcl_potions/functions.lua index c3b3b4b79a..83120f3743 100644 --- a/mods/ITEMS/mcl_potions/functions.lua +++ b/mods/ITEMS/mcl_potions/functions.lua @@ -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