1
0
Fork 0
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:
sfan5 2023-06-24 17:58:43 +02:00
parent f6bddc4e8d
commit 43c9c38a28
3 changed files with 12 additions and 0 deletions

View file

@ -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()