mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02: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