1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Add two missing classes to async environment

This commit is contained in:
sfan5 2023-06-17 19:52:40 +02:00
parent 16da954bd7
commit f9c881eb5a
3 changed files with 6 additions and 0 deletions

View file

@ -10,6 +10,9 @@ local function do_tests()
assert(not core.object_refs)
-- stuff that should be here
assert(ItemStack)
local meta = ItemStack():get_meta()
assert(type(meta) == "userdata")
assert(type(meta.set_tool_capabilities) == "function")
assert(core.registered_items[""])
-- alias handling
assert(core.registered_items["unittests:steel_ingot_alias"].name ==