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:
parent
16da954bd7
commit
f9c881eb5a
3 changed files with 6 additions and 0 deletions
|
@ -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 ==
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue