diff --git a/res/modules/toml.lua b/res/modules/toml.lua index 33c8faf1..3b66790c 100644 --- a/res/modules/toml.lua +++ b/res/modules/toml.lua @@ -1,2 +1,4 @@ print("WARNING: toml is replaced with built-in library, just remove 'require \"core:toml\"'") +toml.serialize = toml.tostring +toml.deserialize = toml.parse return toml diff --git a/res/scripts/stdlib.lua b/res/scripts/stdlib.lua index 4a631ae1..877d38a4 100644 --- a/res/scripts/stdlib.lua +++ b/res/scripts/stdlib.lua @@ -302,5 +302,3 @@ get_block_rotation = block.get_rotation set_block_rotation = block.set_rotation get_block_user_bits = block.get_user_bits set_block_user_bits = block.set_user_bits -toml.serialize = toml.tostring -toml.deserialize = toml.parse