Update all core mods

This commit is contained in:
Vanessa Ezekowitz
2016-04-01 22:10:20 -04:00
parent 888b0ebfec
commit 86ad3e7c6a
158 changed files with 2083 additions and 1581 deletions

View File

@@ -6,12 +6,15 @@ local dtimes = {}
local dlimit = 3 -- HUD element will be hidden after this many seconds
local air_hud_mod = minetest.get_modpath("4air")
local hud_mod = minetest.get_modpath("hud")
local hudbars_mod = minetest.get_modpath("hudbars")
local function set_hud(player)
local player_name = player:get_player_name()
local off = {x=0, y=-70}
if air_hud_mod or hud_mod then
off.y = off.y - 20
elseif hudbars_mod then
off.y = off.y + 13
end
huds[player_name] = player:hud_add({
hud_elem_type = "text",