mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-27 19:35:24 +01:00
Rename minetest.register_async_metatable to minetest.register_portable_metatable (#14895)
This commit is contained in:
@@ -3,7 +3,7 @@ unittests = {}
|
||||
core.log("info", "Hello World")
|
||||
|
||||
unittests.custom_metatable = {}
|
||||
core.register_async_metatable("unittests:custom_metatable", unittests.custom_metatable)
|
||||
core.register_portable_metatable("unittests:custom_metatable", unittests.custom_metatable)
|
||||
|
||||
local function do_tests()
|
||||
assert(core == minetest)
|
||||
|
||||
Reference in New Issue
Block a user