mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Fix #1319
This commit is contained in:
parent
413fbc9c60
commit
6ac0d628ef
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ minetest.register_node("mcl_nether:magma", {
|
|||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
-- From walkover mod
|
||||
on_walk_over = function(loc, nodeiamon, player)
|
||||
if minetest.global_exists("mcl_potions") and mcl_potions.player_has_effect(player, "fire_proof") then
|
||||
if player and player:get_player_control().sneak or minetest.global_exists("mcl_potions") and mcl_potions.player_has_effect(player, "fire_proof") then
|
||||
return
|
||||
end
|
||||
-- Hurt players standing on top of this block
|
||||
|
|
Loading…
Reference in a new issue