forked from mtcontrib/minetest_mana
Code cleanup
This commit is contained in:
parent
4e18900a39
commit
d400f20c55
2
init.lua
2
init.lua
@ -261,7 +261,6 @@ if minetest.get_modpath("hudbars") ~= nil then
|
||||
end
|
||||
|
||||
else
|
||||
|
||||
function mana.manastring(playername)
|
||||
return string.format("Mana: %d/%d", mana.get(playername), mana.getmax(playername))
|
||||
end
|
||||
@ -291,5 +290,4 @@ function mana.hud_remove(playername)
|
||||
local player = minetest.get_player_by_name(playername)
|
||||
player:hud_remove(mana.playerlist[playername].hudid)
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user