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:
parent
be06636965
commit
88b9b9652a
4 changed files with 15 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue