Remove not working check

This commit is contained in:
Niklp09 2023-07-23 20:38:18 +02:00
parent 3ef7cf9a93
commit 1b84133caa

@ -63,9 +63,7 @@ end
local function set_hotbar_size(player, size) local function set_hotbar_size(player, size)
local meta = player:get_meta() local meta = player:get_meta()
local hotbar_size = validate_size(size) local hotbar_size = validate_size(size)
if hotbar_size ~= hotbar_size_default then meta:set_int("hotbar_size", hotbar_size)
meta:set_int("hotbar_size", hotbar_size)
end
update_hotbar(player, hotbar_size) update_hotbar(player, hotbar_size)
return hotbar_size return hotbar_size
end end