Use respawn instead of die for start of immunity

This commit is contained in:
rubenwardy 2017-11-07 01:09:12 +00:00
parent 1f621760bf
commit 0fd9bf7a61

View file

@ -52,4 +52,4 @@ minetest.register_on_punchplayer(function(player, hitter,
end)
minetest.register_on_joinplayer(respawn_immunity.set_immune)
minetest.register_on_dieplayer(respawn_immunity.set_immune)
minetest.register_on_respawnplayer(respawn_immunity.set_immune)