1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

[mff_hud] Move our HUD to mff_hud

This commit is contained in:
LeMagnesium
2015-09-17 16:20:16 +02:00
parent 6ea2b2e287
commit 7f91b18254
4 changed files with 5 additions and 2 deletions

View File

@ -78,13 +78,11 @@ minetest.after(1, count_items)
minetest.after(5, player_join_sounds)
minetest.after(5, player_leave_sounds)
hotbar_size = minetest.setting_get("hotbar_size") or 16
minetest.register_on_joinplayer(function(player)
player:set_physics_override({
sneak_glitch = false, -- Climable blocks are quite fast in Carbone.
})
player:hud_set_hotbar_itemcount(hotbar_size)
end)
minetest.register_on_respawnplayer(function(player)