mirror of
https://github.com/mt-mods/dreambuilder_hotbar.git
synced 2024-07-07 08:15:24 +02:00
Remove not working check
This commit is contained in:
parent
3ef7cf9a93
commit
1b84133caa
4
init.lua
4
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user