1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

[CSM] Add function to get the server protocol version. (#5529)

This commit is contained in:
red-001 2017-04-06 21:50:45 +01:00 committed by Loïc Blot
parent be06636965
commit 88b9b9652a
4 changed files with 15 additions and 0 deletions

View file

@ -69,6 +69,7 @@ core.after(2, function()
print("[PREVIEW] loaded " .. modname .. " mod")
modstorage:set_string("current_mod", modname)
print(modstorage:get_string("current_mod"))
print("Server version:" .. core.get_protocol_version())
preview_minimap()
end)