forked from MineClone5/MineClone5
Fix hotbar
This commit is contained in:
parent
e01fbc12e1
commit
c0495289a6
|
@ -126,8 +126,8 @@ minetest.register_on_joinplayer(function(player)
|
||||||
--set hotbar size
|
--set hotbar size
|
||||||
player:hud_set_hotbar_itemcount(9)
|
player:hud_set_hotbar_itemcount(9)
|
||||||
--add hotbar images
|
--add hotbar images
|
||||||
player:hud_set_hotbar_image("crafting_hotbar.png")
|
player:hud_set_hotbar_image("gui_hotbar.png")
|
||||||
player:hud_set_hotbar_selected_image("crafting_hotbar_selected.png")
|
player:hud_set_hotbar_selected_image("gui_hotbar_selected.png")
|
||||||
|
|
||||||
if show_armor then
|
if show_armor then
|
||||||
local set_player_armor_original = armor.set_player_armor
|
local set_player_armor_original = armor.set_player_armor
|
||||||
|
|
Loading…
Reference in New Issue