From 2c4cf508a9b94a76ce2ca7c7317258471a41c51d Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 9 Nov 2019 11:00:19 +0100 Subject: [CSM] Implement minetest.get_csm_restrictions() fixes #8068 --- clientmods/preview/init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clientmods/preview') 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() -- cgit v1.2.3