Fix crash when dying cuz fire, lava or magmablock
This commit is contained in:
parent
81ca79e85c
commit
661e10e992
8 changed files with 28 additions and 25 deletions
|
@ -94,7 +94,7 @@ minetest.register_node("mcl_nether:magma", {
|
|||
-- Hurt players standing on top of this block
|
||||
if player:get_hp() > 0 then
|
||||
if mod_death_messages then
|
||||
mcl_death_messages.player_damage(player, string.format("%s stood too long on a magma block.", player:get_player_name()))
|
||||
mcl_death_messages.player_damage(player, S("@1 stood too long on a magma block.", player:get_player_name()))
|
||||
end
|
||||
player:set_hp(player:get_hp() - 1)
|
||||
end
|
||||
|
|
|
@ -25,3 +25,4 @@ Nether Brick=
|
|||
Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences.=
|
||||
Nether Lava Source=
|
||||
Flowing Nether Lava=
|
||||
@1 stood too long on a magma block.=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue