describe range of hotbar lengths

This commit is contained in:
Vanessa Dannenberg 2021-03-24 23:10:13 -04:00
parent b8f429c57f
commit a7af7259af

@ -39,7 +39,7 @@ end)
minetest.register_chatcommand("hotbar", { minetest.register_chatcommand("hotbar", {
params = "[size]", params = "[size]",
description = "Sets the size of your hotbar", description = "Sets the size of your hotbar, from 1 to 32 slots, default 16",
func = function(name, slots) func = function(name, slots)
local size = set_hotbar_size(minetest.get_player_by_name(name), slots) local size = set_hotbar_size(minetest.get_player_by_name(name), slots)
player_hotbar_settings[name] = size player_hotbar_settings[name] = size