This commit is contained in:
Jean-Patrick Guerrero 2021-01-16 03:46:46 +01:00
parent 0859e9bf16
commit e1bf417119

2
API.md
View File

@ -8,7 +8,7 @@ Custom tabs can be added to the `i3` inventory as follow (example):
i3.new_tab { i3.new_tab {
name = "stuff", name = "stuff",
description = "Stuff", description = "Stuff",
image = "image.png", -- Optional, adds an image inside the tab image = "image.png", -- Optional, adds an image next to the tab description
-- Determine if the tab is visible by a player, `false` or `nil` hide the tab -- Determine if the tab is visible by a player, `false` or `nil` hide the tab
access = function(player, data) access = function(player, data)