1
0
mirror of git://repo.or.cz/minetest_mana.git synced 2024-11-15 23:00:20 +01:00

Fix crash with hudbars when player leaving server

This commit is contained in:
Wuzzy 2015-03-31 23:27:59 +02:00
parent 36db3d72ac
commit ff247cc261

View File

@ -268,6 +268,9 @@ if minetest.get_modpath("hudbars") ~= nil then
end
end
function mana.hud_remove(playername)
end
else
function mana.manastring(playername)
return string.format("Mana: %d/%d", mana.get(playername), mana.getmax(playername))