mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix itemdef defaults not being applied in async env
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user