mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix itemdef defaults not being applied in async env
This commit is contained in:
parent
f6bddc4e8d
commit
43c9c38a28
3 changed files with 12 additions and 0 deletions
|
@ -261,6 +261,11 @@ function core.get_globals_to_transfer()
|
|||
local all = {
|
||||
registered_items = copy_filtering(core.registered_items),
|
||||
registered_aliases = core.registered_aliases,
|
||||
|
||||
nodedef_default = copy_filtering(core.nodedef_default),
|
||||
craftitemdef_default = copy_filtering(core.craftitemdef_default),
|
||||
tooldef_default = copy_filtering(core.tooldef_default),
|
||||
noneitemdef_default = copy_filtering(core.noneitemdef_default),
|
||||
}
|
||||
return all
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue