diff options
author | sfan5 <sfan5@live.de> | 2019-11-09 11:00:19 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-11-11 14:06:48 +0100 |
commit | 2c4cf508a9b94a76ce2ca7c7317258471a41c51d (patch) | |
tree | db024e8374e7e74809410b9b998d38042b187811 /clientmods/preview | |
parent | 3f271564e08716cfeb4a966f4291524b0fac05d3 (diff) | |
download | minetest-2c4cf508a9b94a76ce2ca7c7317258471a41c51d.tar.gz minetest-2c4cf508a9b94a76ce2ca7c7317258471a41c51d.tar.bz2 minetest-2c4cf508a9b94a76ce2ca7c7317258471a41c51d.zip |
[CSM] Implement minetest.get_csm_restrictions()
fixes #8068
Diffstat (limited to 'clientmods/preview')
-rw-r--r-- | clientmods/preview/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua index dd856217f..2e679b866 100644 --- a/clientmods/preview/init.lua +++ b/clientmods/preview/init.lua @@ -14,6 +14,9 @@ print("Server version: " .. server_info.protocol_version) print("Server ip: " .. server_info.ip) print("Server address: " .. server_info.address) print("Server port: " .. server_info.port) + +print("CSM restrictions: " .. dump(core.get_csm_restrictions())) + mod_channel = core.mod_channel_join("experimental_preview") core.after(4, function() |