From 1fda285102ee2851f3488fd7dc412660faf9f999 Mon Sep 17 00:00:00 2001 From: Brandon Date: Fri, 10 Jul 2020 19:16:23 -0400 Subject: [PATCH] Fix reset for night vision on drink milk --- mods/ITEMS/mcl_potions/functions.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_potions/functions.lua b/mods/ITEMS/mcl_potions/functions.lua index 555a87c262..61bb8fd62d 100644 --- a/mods/ITEMS/mcl_potions/functions.lua +++ b/mods/ITEMS/mcl_potions/functions.lua @@ -329,6 +329,7 @@ function mcl_potions._reset_player_effects(player) end if is_cat[player] then + player:override_day_night_ratio(nil) is_cat[player] = nil end