From 758a3470f3935469a2c38eaad287797fb078b209 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 24 Dec 2020 17:55:33 +0100 Subject: [PATCH] Fire resistance potion working --- mods/ENTITIES/mcl_burning/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_burning/init.lua b/mods/ENTITIES/mcl_burning/init.lua index 768afb324..daaf6d9e5 100644 --- a/mods/ENTITIES/mcl_burning/init.lua +++ b/mods/ENTITIES/mcl_burning/init.lua @@ -122,7 +122,7 @@ function mcl_burning.damage(obj, meta, is_player) meta, is_player = mcl_burning.analyse(obj, meta, is_player) local do_damage = true if is_player then - if mcl_potions.player_has_effect(obj, "fire_resistance") then + if mcl_potions.player_has_effect(obj, "fire_proof") then do_damage = false else local name = obj:get_player_name()