mirror of
https://github.com/mt-mods/dreambuilder_hotbar.git
synced 2024-07-04 14:55:22 +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 meta = player:get_meta()
|
||||
local hotbar_size = validate_size(size)
|
||||
if hotbar_size ~= hotbar_size_default then
|
||||
meta:set_int("hotbar_size", hotbar_size)
|
||||
end
|
||||
meta:set_int("hotbar_size", hotbar_size)
|
||||
update_hotbar(player, hotbar_size)
|
||||
return hotbar_size
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user