forked from mtcontrib/minetest_hudbars
Don't set breath for respawners
This commit is contained in:
parent
860d0b38fd
commit
c198284de9
5
init.lua
5
init.lua
@ -122,11 +122,6 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_respawnplayer(function(player)
|
|
||||||
-- reset player breath since the engine doesnt
|
|
||||||
player:set_breath(11)
|
|
||||||
end)
|
|
||||||
|
|
||||||
local main_timer = 0
|
local main_timer = 0
|
||||||
local timer = 0
|
local timer = 0
|
||||||
local timer2 = 0
|
local timer2 = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user