From 3cf2919189e4961e2dc4cd34359b83cd22e2ae53 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sat, 16 Jan 2021 15:28:12 +0100 Subject: [PATCH] Add check --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index d300616..017136c 100644 --- a/init.lua +++ b/init.lua @@ -2250,7 +2250,9 @@ i3.new_tab { local name = player:get_player_name() local sb_inv = fields.scrbar_inv - panel_fields(player, data, fields) + if not creative_enabled(name) then + panel_fields(player, data, fields) + end if fields.skins and data.skin_id ~= tonum(fields.skins) then data.skin_id = tonum(fields.skins)