fix items glitch
parent
b72ed15586
commit
4e57a32c6b
5
init.lua
5
init.lua
|
@ -143,7 +143,10 @@ trash:set_size("main", 1)
|
|||
creative.formspec_add = ""
|
||||
|
||||
|
||||
function creative.register_tab(name, title, items)
|
||||
function creative.register_tab(name, title, inv_items)
|
||||
|
||||
-- copy items table so that original isn't affected
|
||||
local items = table.copy(inv_items)
|
||||
|
||||
-- remove item fluff and only keep name, description and groups
|
||||
for name, def in pairs(items) do
|
||||
|
|
Loading…
Reference in New Issue