mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +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
|
@ -19,6 +19,8 @@ local function do_tests()
|
|||
-- alias handling
|
||||
assert(core.registered_items["unittests:steel_ingot_alias"].name ==
|
||||
"unittests:steel_ingot")
|
||||
-- fallback to item defaults
|
||||
assert(core.registered_items["unittests:description_test"].on_place == true)
|
||||
end
|
||||
|
||||
function unittests.async_test()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue