mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Test metadata value changing
This commit is contained in:
parent
88b04eadc9
commit
408af9d17d
@ -12,7 +12,8 @@ compare_meta:from_table({
|
|||||||
})
|
})
|
||||||
|
|
||||||
local function test_metadata(meta)
|
local function test_metadata(meta)
|
||||||
meta:from_table({fields = {a = 1, b = "2"}})
|
meta:from_table({fields = {a = 2, b = "2"}})
|
||||||
|
meta:set_string("a", 1)
|
||||||
meta:set_string("c", "3")
|
meta:set_string("c", "3")
|
||||||
meta:set_int("d", 4)
|
meta:set_int("d", 4)
|
||||||
meta:set_string("e", "e")
|
meta:set_string("e", "e")
|
||||||
|
Loading…
Reference in New Issue
Block a user