Add check
This commit is contained in:
parent
729b489f02
commit
3cf2919189
2
init.lua
2
init.lua
|
@ -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)
|
||||||
|
|
Ŝarĝante…
Reference in New Issue