mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-27 03:10:39 +01:00
Add check
This commit is contained in:
parent
729b489f02
commit
3cf2919189
4
init.lua
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user