Add check

This commit is contained in:
Jean-Patrick Guerrero 2021-01-16 15:28:12 +01:00
parent 729b489f02
commit 3cf2919189

View File

@ -2250,7 +2250,9 @@ i3.new_tab {
local name = player:get_player_name() local name = player:get_player_name()
local sb_inv = fields.scrbar_inv local sb_inv = fields.scrbar_inv
if not creative_enabled(name) then
panel_fields(player, data, fields) panel_fields(player, data, fields)
end
if fields.skins and data.skin_id ~= tonum(fields.skins) then if fields.skins and data.skin_id ~= tonum(fields.skins) then
data.skin_id = tonum(fields.skins) data.skin_id = tonum(fields.skins)