0.20 compatibility fix

This commit is contained in:
MihailRis 2024-06-03 22:54:05 +03:00
parent 1935b3099a
commit fd93994030
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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