mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-27 02:19:33 +01:00
Fire resistance potion working
This commit is contained in:
parent
7545e29f58
commit
758a3470f3
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue